ci: update ci to supported node.js 18 - 23 versions #51
Workflow file for this run
This file contains hidden or 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: test-windows | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
test: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [23, 22, 20, 18] | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4 | |
- name: Setup node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: | | |
npm install | |
npm list | |
- name: Run tests | |
run: npm run test:windows | |
#- name: Run type checking | |
# run: npm run types | |
- name: Run benchmark | |
run: | | |
npm run bench | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 |