chore: update deps #285
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: Node CI | |
| on: | |
| push: | |
| branches: [dev] | |
| pull_request: | |
| branches: [dev] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| node: | |
| - version: 20 | |
| napi: 8 | |
| - version: 22 | |
| napi: 8 | |
| runs-on: ubuntu-latest | |
| container: | |
| image: node:${{ matrix.node.version }}-bookworm | |
| env: | |
| CI: true | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Prepare | |
| run: | | |
| apt-get update | |
| apt-get install -y cmake flac | |
| - name: Install | |
| run: npm ci | |
| - name: Build | |
| run: | | |
| npx cmake-js configure --CDnapi_build_version=${{ matrix.node.napi }} | |
| npx cmake-js build -j4 | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test | |
| run: npm test |