Supply chain improvements#71
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
manuelpuyol
approved these changes
Jun 3, 2026
There was a problem hiding this comment.
Pull request overview
This PR hardens the project’s Node/npm supply chain posture by updating CI/release tooling, modernizing the Vitest browser setup, and pinning GitHub Actions to immutable SHAs.
Changes:
- Updated Vitest to v4 and switched browser provider configuration to
@vitest/browser-playwright. - Standardized CI/release/publish workflows on newer Node versions, using
npm ci, and pinned third-party actions by commit SHA. - Added a
min-release-ageentry to.npmrcintended as a release-age guard.
Show a summary per file
| File | Description |
|---|---|
.npmrc |
Adds a release-age guard configuration (currently not honored by npm). |
.github/actions/setup/action.yml |
Updates the shared setup action to use Node 26.x and npm ci. |
.github/workflows/nodejs.yml |
Updates CI matrix and pins checkout/setup-node actions. |
.github/workflows/publish.yml |
Updates publish job to Node 26 and pins actions. |
.github/workflows/release.yml |
Pins actions to SHAs for release flow hardening. |
.travis.yml |
Updates Travis to Node 26 and uses npm ci. |
package.json |
Bumps Vitest tooling and Playwright to support Vitest v4 browser testing. |
package-lock.json |
Lockfile updates reflecting dependency upgrades (Vitest/Playwright ecosystem). |
tsconfig.json |
Sets moduleResolution to node for more compatible TS module resolution. |
vitest.config.js |
Updates browser provider configuration for Vitest v4. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 8/10 changed files
- Comments generated: 2
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.
Files changed
.npmrc.github/actions/setup/action.yml.github/workflows/nodejs.yml.github/workflows/publish.yml.github/workflows/release.yml.travis.ymlpackage.jsonpackage-lock.jsontsconfig.jsonvitest.config.jsEcosystems detected
Recommendations applied
min-release-age=3.npm ci.npm audit fix; no vulnerabilities remained.Could not apply automatically
Human review notes
release.ymlkeepscontents: writebecause it pushes tags and creates GitHub releases.release.ymlstill uses the repositoryGITHUB_TOKENfor GitHub release creation.Validation
npm install✅npm audit fix✅, found 0 vulnerabilitiesnpm ci✅npm run build --if-present✅npm run check --if-present✅CI=1 npm test✅, 9 tests passednpm audit✅, found 0 vulnerabilitiesWarnings observed: npm 11.6.0 reports
min-release-ageas an unknown project config in this local environment; validation still passed.