Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
# Some repos intentionally ship without a committed lockfile; `npm ci`
# requires one, so fall back to `npm install` in that case.
- name: Install dependencies
working-directory: npm
run: |
if [ -f package-lock.json ]; then
npm ci
Expand All @@ -42,6 +43,7 @@ jobs:

- name: Run npm audit
id: audit
working-directory: npm
run: |
# npm audit exits non-zero when it finds anything; capture rather than fail.
npm audit --audit-level=high --json > audit.json || true
Expand Down
Loading