Skip to content

save

save #39

Workflow file for this run

name: npm test
on:
push:
branches: ["main"]
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/**
- "!.github/workflows/npm-test.yml"
pull_request:
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/**
- "!.github/workflows/npm-test.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
npm-test:
strategy:
fail-fast: false
matrix:
node-version: ["18", "20", "22"]
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm test