ci: block pull requests only on critical advisories
CI / build (pull_request) Failing after 58s

Same gate as release.yml. audit.yml still files an issue for moderate and up, and the full audit report prints in CI.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-11-17 17:10:03 -06:00
1 parent 3914af3708
commit ccfb237ab9
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -19,5 +19,10 @@ jobs:
with:
node-version: '22'
- run: npm ci
- run: npm audit --audit-level=moderate
# Only a critical advisory blocks, as in release.yml. The site ships built files, not
# node_modules; a build-time advisory with no published fix would otherwise block every PR.
# audit.yml still files an issue for moderate and up, and the full report prints here.
- run: npm audit --audit-level=critical
- run: npm audit
continue-on-error: true
- run: npm run check