build(deps-dev): bump nyc from 15.1.0 to 17.1.0 #17
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: Test suite | |
| on: | |
| push: | |
| branches: | |
| - master # allthough master is push protected we still keep it | |
| - development | |
| pull_request: # runs on all PR | |
| jobs: | |
| lint: | |
| name: Javascript standard lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| show-progress: false | |
| - name: setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - run: npm clean-install | |
| - run: npm run lint | |
| unittest: | |
| name: unit tests | |
| runs-on: ubuntu-latest | |
| needs: [lint] | |
| strategy: | |
| matrix: | |
| node: [20, 22, 24] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| show-progress: false | |
| - name: Setup node ${{ matrix.node }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| - run: npm clean-install | |
| - run: npm run test:coverage | |
| # with the following action we enforce PRs to have a high coverage | |
| # and ensure, changes are tested well enough so that coverage won't fail | |
| - name: check coverage | |
| uses: VeryGoodOpenSource/very_good_coverage@v3 | |
| with: | |
| path: './coverage/lcov.info' | |
| min_coverage: 98 |