Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,13 @@ jobs:
- name: Install dependencies
run: npm ci

# Gate production dependencies at moderate. Dev-only test tooling
# (jest -> babel-plugin-istanbul -> @istanbuljs/load-nyc-config -> js-yaml@3)
# carries advisories with no upstream fix and never ships to consumers, so
# auditing them here would block merges indefinitely. --omit=dev scopes the
# gate to what we actually publish.
- name: Run security audit
run: npm audit --audit-level=moderate
run: npm audit --audit-level=moderate --omit=dev

- name: Check for vulnerabilities
run: npm audit --audit-level=high --production
Expand Down
Loading
Loading