chore(deps): update node.js to v22 #1569
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 10.x # deprecated | |
- 11.x # deprecated | |
- 12.x # deprecated | |
- 13.x # deprecated | |
- 14.x # deprecated | |
- 15.x # deprecated | |
- 16.x # maintenance ends 2024-04-30 | |
- 17.x # deprecated | |
- 18.x # maintenance ends 2025-04-30 | |
- 19.x # deprecated | |
- 20.x # maintenance ends 2026-04-30 | |
steps: | |
- uses: actions/setup-node@v4 | |
- uses: actions/checkout@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm run build --if-present | |
- run: npm test | |
env: | |
CI: true |