In-range update of npm dependencies #2136
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: | |
| - v4 | |
| pull_request: | |
| branches: | |
| - v4 | |
| # No permissions are required for this workflow | |
| permissions: {} | |
| jobs: | |
| test: | |
| name: General checks, tests and coverage reporting | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js LTS 20.11.0 | |
| uses: actions/setup-node@v6.3.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 dependencies analysis | |
| run: npm run knip | |
| - name: Perform checks and tests | |
| run: npm test | |
| - name: Send report to Coveralls | |
| uses: coverallsapp/github-action@v2.3.7 | |
| - name: Build e2e test image | |
| run: ./test/e2e/build-image.sh | |
| - name: Run e2e test image | |
| run: ./test/e2e/run-image.sh |