chore: update node-gyp version in devDependencies to >=12.2.0 #29
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: CI Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| unit: | |
| runs-on: ${{ matrix.runner }} | |
| strategy: | |
| matrix: | |
| include: | |
| - node: "22.x" | |
| arch: "x64" | |
| runner: windows-latest | |
| platform: win32 | |
| - node: "22.x" | |
| arch: "x64" | |
| runner: ubuntu-latest | |
| platform: linux | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install Linux build deps | |
| if: ${{ matrix.platform == 'linux' }} | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libcups2-dev build-essential python3 | |
| shell: bash | |
| - name: Install deps | |
| run: npm ci | |
| - name: Run unit tests | |
| run: npm test |