Skip to content

ci: add an optional npm dependency report - #2026

Closed
PresentJay wants to merge 1 commit into
metarhia:masterfrom
PresentJay:ci/zero-shelter-dependency-report
Closed

PresentJay wants to merge 1 commit into
metarhia:masterfrom
PresentJay:ci/zero-shelter-dependency-report

Conversation

@PresentJay

@PresentJay PresentJay commented Nov 2, 2026 •

Copy link
Copy Markdown

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.yml and adds an Unreleased entry to CHANGELOG.md. The workflow_dispatch job uses contents: read, SHA-pinned official actions and pinned zero-shelter@0.0.10. It runs npm audit --package-lock-only --ignore-scripts and retains generated HTML for 7 days. Findings exit 1; scanner/judgement errors exit 2; both fail the job. It installs no project dependencies and accepts no baseline.

Saved validation at 7a90513e7c70 produced 1 raw / 1 merged / 1 outstanding finding, 0 accepted; npm audit and JSON/HTML exited 1. This is an earlier capture, not a new scan. npm test passed 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.

  • Tests and linter show no problems (npm test).
  • Workflow checked against real npm input and YAML/Bash syntax; application test source unchanged.
  • Formatting checked by the existing npm test lint step.
  • CHANGELOG.md records the change.
  • .d.ts update 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.

@PresentJay

Copy link
Copy Markdown
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.

@tshemsedinov

Copy link
Copy Markdown
Member

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.

No, thanks

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.

2 participants