Skip to content

ci: update workflow #39

ci: update workflow

ci: update workflow #39

Workflow file for this run

name: 'Build'
on: ['push', 'pull_request']
jobs:
build:
name: 'Test on node ${{ matrix.node_version }} and ${{ matrix.os }}'
runs-on: 'ubuntu-latest'
strategy:
matrix:
node_version: [12, 14, 16, 18, 20, 22]
os: ['ubuntu-latest']
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: 'npm'
- run: npm ci --ignore-scripts
- run: npm test