ci: clearer check labels and split lint jobs #1
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: audit | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: {} | |
| jobs: | |
| yarn-audit: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| # Start lenient — high+critical only — so the check is not flooded | |
| # by known low/moderate dependency findings on day one. Tighten the | |
| # threshold (--level moderate, then --level low) once each rung is | |
| # clean. | |
| - run: yarn audit --groups dependencies --level high |