websri/.github/workflows/test.yml

21 lines
437 B
YAML

name: test
on: push
jobs:
nodejs:
name: Node.js v${{ matrix.node-version }}
strategy:
matrix:
node-version:
- 18
- 20
- 22
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm test