Repository navigation
ci: add an optional npm dependency report - #2026
Closed
PresentJay wants to merge 1 commit into
Closed
PresentJay wants to merge 1 commit into
PresentJay wants to merge 1 commit into
Conversation
Author
|
I help develop zero-shelter and am exploring whether a manual npm advisory report is useful alongside Impress’s existing Node tests. The proposed report reads the lockfile without starting the application server. Would this format fit your maintenance process? I’m happy to withdraw it if it adds unnecessary tooling. |
Member
No, thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This proposes a manual report from Impress's npm lockfile alongside its existing Node tests, without starting the application server. I contribute to zero-shelter and am trying to find where that report format is useful.
This changes
.github/workflows/dependency-report.ymland adds an Unreleased entry toCHANGELOG.md. Theworkflow_dispatchjob usescontents: read, SHA-pinned official actions and pinnedzero-shelter@0.0.10. It runsnpm audit --package-lock-only --ignore-scriptsand retains generated HTML for 7 days. Findings exit1; scanner/judgement errors exit2; both fail the job. It installs no project dependencies and accepts no baseline.Saved validation at
7a90513e7c70produced 1 raw / 1 merged / 1 outstanding finding, 0 accepted; npm audit and JSON/HTML exited1. This is an earlier capture, not a new scan.npm testpassed on Node 24.3.0, including lint, types and Node tests. Its temporary localhost fixture ran; no persistent service, database or Docker setup was created. YAML, Bash and whitespace checks passed. The complete OS/runtime matrix and new hosted manual workflow were not run.npm test).npm testlint step.CHANGELOG.mdrecords the change..d.tsupdate is not applicable: no runtime/API source changed.This uses npm audit alone and does not establish reachability. npm audit queries the configured registry with dependency metadata; npx downloads and executes the third-party CLI in CI. I prepared this with AI assistance.
Would this manual report fit Impress's maintenance workflow? I'm happy to withdraw it if it adds unnecessary tooling.