Skip to content

chore: harden npm installs - #21

Merged
linuz90 merged 2 commits into
mainfrom
chore/js-supply-chain-hardening
May 1, 2026
Merged

chore: harden npm installs#21
linuz90 merged 2 commits into
mainfrom
chore/js-supply-chain-hardening

Conversation

@linuz90

@linuz90 linuz90 commented May 1, 2026

Copy link
Copy Markdown
Contributor

This keeps the open-source skills repo on npm while adding the npm 11 safeguards we wanted.

Summary

  • npm baseline: pins packageManager: npm@11.13.0, adds Node/npm engines, and commits a deterministic package-lock.json.
  • Install hardening: adds .npmrc with min-release-age=7, allow-git=none, and engine-strict=true.
  • CI hardening: drops Node 18 from the matrix, installs pinned npm 11, and switches dependency install from npm install to npm ci.

Validation

  • npx -y npm@11.13.0 ci
  • npx -y npm@11.13.0 test

After Merge

No action required

@linuz90
linuz90 merged commit 660637f into main May 1, 2026
2 checks passed
@linuz90
linuz90 deleted the chore/js-supply-chain-hardening branch May 1, 2026 11:51
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