feat: Added Node 22 to prebuild list and tests #93
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
HUSKY: 0 | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [16, 18, 20, 22] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
name: Node v${{ matrix.node }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
architecture: x64 | |
- name: Python version | |
run: python --version | |
- name: Install setuptools | |
run: pip install setuptools | |
- name: Install dependencies | |
run: npm ci | |
- name: Show node-gyp version | |
run: npm ls node-gyp | |
- name: Test | |
run: npm test |