Supply chain improvements#38
Merged
Merged
Conversation
Update CI and publish workflows to use Node 26, npm ci, and pinned GitHub Actions SHAs. Add npm min-release-age configuration and refresh the lockfile after npm install/audit fix.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR strengthens the repo’s npm and GitHub Actions supply-chain posture by introducing an npm minimum release age gate, pinning third-party actions to full commit SHAs, modernizing CI/release workflows (Node 26 + npm ci + caching + least-privilege permissions), and syncing the lockfile metadata to the package version.
Changes:
- Added
.npmrcconfiguration to enforce a minimum release age for installed packages. - Updated CI and publish workflows to Node 26,
npm ci/npm test, npm caching, and pinned action SHAs. - Refreshed
package-lock.jsonto match thepackage.jsonversion.
Show a summary per file
| File | Description |
|---|---|
| package-lock.json | Synces lockfile metadata (version) with package.json. |
| .npmrc | Adds an npm config gate (min-release-age=3) to reduce risk from newly published deps. |
| .github/workflows/test.yml | Updates CI to Node 26, npm ci, npm caching, least-privilege permissions, and pinned action SHAs. |
| .github/workflows/publish.yml | Updates release publishing jobs to Node 26 and pinned action SHAs while keeping OIDC/provenance publishing. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 3/4 changed files
- Comments generated: 1
Comment on lines
11
to
15
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Use Node.js 24.x | ||
| uses: actions/setup-node@v5 | ||
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 | ||
| - name: Use Node.js 26.x | ||
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | ||
| with: |
manuelpuyol
approved these changes
Jun 3, 2026
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.
Summary
min-release-age=3.npm ci, npm caching, least-privilege permissions, and pinned GitHub Actions SHAs.package.json.Ecosystems detected
Recommendations applied
npm it/install behavior to explicitnpm ciplusnpm test.Not applied
Human review notes
Validation
npm install --no-audit --no-fundnpm audit fixnpm cinpm testnpm audit