chore(ci): add npm audit --audit-level=high gate to CI pipeline
Blocks merges when any HIGH or CRITICAL advisory enters the production dependency tree. Runs after npm ci (or cache restore) and before lint, so a failing audit surfaces immediately without wasting test time. Closes the systemic gap from pre-prod audit finding F-22 (dependency hygiene). Renovate automation is tracked separately. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,6 +29,10 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
|
||||||
|
- name: Security audit (no dev deps)
|
||||||
|
run: npm audit --audit-level=high --omit=dev
|
||||||
|
working-directory: frontend
|
||||||
|
|
||||||
- name: Compile Paraglide i18n
|
- name: Compile Paraglide i18n
|
||||||
run: npx @inlang/paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide
|
run: npx @inlang/paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user