Supply chain improvements#118
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request applies supply-chain oriented maintenance updates across GitHub Actions workflows and npm configuration, aiming to harden CI/publishing and refresh dependency resolutions without changing the existing Dependabot setup.
Changes:
- Added a project
.npmrcwith a minimum package release age policy (min-release-age=3). - Updated CI and publish workflows to use pinned SHAs for
actions/checkoutandactions/setup-node, and bumped automation to Node 26. - Refreshed
package-lock.jsonvianpm audit fix(transitive dependency updates/removals).
Show a summary per file
| File | Description |
|---|---|
.npmrc |
Introduces npm release-age policy configuration intended to reduce supply-chain risk. |
.github/workflows/nodejs.yml |
Pins third-party actions to SHAs and moves CI to Node 26. |
.github/workflows/publish.yml |
Pins third-party actions to SHAs and moves publish pipeline to Node 26. |
package-lock.json |
Updates resolved dependency versions to incorporate audit fixes. |
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: 3
| @@ -0,0 +1 @@ | |||
| min-release-age=3 | |||
Comment on lines
+13
to
17
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | ||
| with: | ||
| node-version: 22 | ||
| node-version: 26 | ||
| registry-url: https://registry.npmjs.org/ | ||
| cache: npm |
Comment on lines
+15
to
18
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | ||
| with: | ||
| node-version: '24' | ||
| node-version: '26' | ||
| registry-url: 'https://registry.npmjs.org' |
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
npm audit fixWhat changed
.npmrcwithmin-release-age=3actions/checkouttov6.0.3andactions/setup-nodetov6.4.0, pinned to full SHAsnpm ciin CI and publish workflowsnpm publish --provenancewithid-token: writeand noNODE_AUTH_TOKENnpm audit fixand refreshedpackage-lock.jsonFiles changed
.npmrc.github/workflows/nodejs.yml.github/workflows/publish.ymlpackage-lock.jsonEcosystems detected
Applied recommendations
npm ci.npmrcCould not be applied automatically
Human review notes
pull_request_targetworkflows were foundcontents: readin CI andcontents: readplusid-token: writefor publishnpm11 emits a warning thatmin-release-ageis an unknown project config in this environment, even though installs/build/tests continue to passValidation
npm installnpm cinpm run buildCI=1 npm testnpm audit(0 vulnerabilities)