feat: add npm-audit/cargo-audit dependency scan CI gate #827
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: Coverage | |
| on: | |
| pull_request: | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| # Frontend coverage | |
| - name: Frontend coverage | |
| working-directory: frontend | |
| run: | | |
| npm ci | |
| npm run test:coverage | |
| # Backend coverage | |
| - name: Backend coverage | |
| working-directory: backend | |
| run: | | |
| npm ci | |
| npm run test:coverage |