Skip to content

ci: add Node 24 to the test matrix #12

ci: add Node 24 to the test matrix

ci: add Node 24 to the test matrix #12

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run tests
run: npx vitest run --coverage
- name: Security audit
run: npm audit --audit-level=high