Skip to content

Commit e155196

Browse files
committed
fix: Only audit production npm deps for security vulnerabilities
Dev dependencies (webpack, babel) have known critical CVEs that don't affect production. Using --omit=dev focuses the audit on dependencies that actually ship to users.
1 parent db951c7 commit e155196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
run: npm ci
113113

114114
- name: npm audit (critical only)
115-
run: npm audit --audit-level=critical
115+
run: npm audit --audit-level=critical --omit=dev
116116

117117
# ──────────────────────────────────────────────
118118
# Stage 1: PHP Linting — each tool as a separate job

0 commit comments

Comments
 (0)