Bump actions/checkout from 6.0.0 to 6.0.1 #838
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: GitHub CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| name: General checks, tests and coverage reporting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| - name: Use Node.js LTS 20.11.0 | |
| uses: actions/setup-node@v6.0.0 | |
| with: | |
| node-version: 20.11.0 | |
| - 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: Perform checks and tests | |
| run: npm test | |
| - name: Send report to Coveralls | |
| uses: coverallsapp/github-action@v2.3.7 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| test-matrix: | |
| name: Unit tests on Node.js ${{ matrix.node-version }} and ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [20, 22] | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6.0.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| name: Install dependencies | |
| - run: npm ls --prod | |
| name: Check for missing / extraneous Dependencies | |
| - run: npm run unit | |
| name: Run unit tests |