Merge pull request #630 from hed-standard/dependabot/npm_and_yarn/mai… #244
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 coverage | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| Coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the code | |
| uses: actions/checkout@v6 | |
| - name: Set up with Node.js LTS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/* | |
| - name: Download dependencies | |
| run: npm ci | |
| - name: Generate coverage report | |
| run: ./node_modules/.bin/jest --coverage | |
| - name: Upload coverage to Quality | |
| uses: qltysh/qlty-action/coverage@v2 | |
| with: | |
| oidc: true | |
| files: coverage/lcov.info |