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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Lint Markdown
run: npm run lint:markdown
- name: Audit runtime dependencies
run: npm audit --audit-level=moderate
run: npm audit --omit=dev --audit-level=moderate

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the documented audit command with the workflow

When a moderate-or-higher advisory affects only a development dependency, this workflow can now pass while the command in CONTRIBUTING.md:13-18, explicitly described as one of the “same checks required by CI,” still fails because it lacks --omit=dev (npm audit --help documents dev as an accepted --omit dependency type). Update that command alongside the workflow so contributors can reproduce the required CI audit locally.

Useful? React with 👍 / 👎.

- name: Inspect package contents
run: npm pack --dry-run

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading