Skip to content

pin versions

pin versions #6

Workflow file for this run

name: test
on:
push:
concurrency:
group: branch-node-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 'lts/*']
os: [ubuntu-latest]
include:
- os: macos-latest
node: 'lts/*'
- os: windows-latest
node: 'lts/*'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run build
- run: npm run test