ci: Add --engine-strict to remaining job configs #62
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Unit and Integration | |
| strategy: | |
| fail-fast: false # Do not stop other jobs if one fails | |
| matrix: | |
| version: [22, 24] | |
| os: [ubuntu-24.04, windows-2025, macos-15] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.version }} | |
| - name: Install dependencies | |
| run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo | |
| - name: Run unit tests | |
| run: npm run unit |