Skip to content

fix(ci): run security audit in the npm/ directory - #11

Merged
mstuart merged 1 commit into
masterfrom
fix/audit-npm-dir
Aug 18, 2026
Merged

fix(ci): run security audit in the npm/ directory#11
mstuart merged 1 commit into
masterfrom
fix/audit-npm-dir

Conversation

@mstuart

@mstuart mstuart commented Aug 18, 2026

Copy link
Copy Markdown
Owner

The security-audit workflow I just added assumed package.json at the repo root, but this repo keeps it under npm/, so the job failed:

npm error enoent Could not read package.json: .../code-memory/package.json

Adds working-directory: npm to the install and audit steps, matching the convention ci.yml already uses. audit.json is written and read relative to that directory, so it stays consistent.

This repo keeps package.json under npm/ rather than the repo root, so
the audit job failed with ENOENT on install. Matches the working-directory
convention already used by ci.yml.
@mstuart
mstuart merged commit 34bca5d into master Aug 18, 2026
3 checks passed
@mstuart
mstuart deleted the fix/audit-npm-dir branch August 18, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant