chore(deps): update actions/setup-node action to v6#27
Conversation
cdfbcdc to
68d7299
Compare
68d7299 to
82af44e
Compare
82af44e to
07fcddd
Compare
There was a problem hiding this comment.
Summary
This PR updates the actions/setup-node GitHub Action from v4 to v6 in both CI and publish workflows. This is a routine dependency maintenance update.
Verdict: Approved — Safe to merge. No code changes required.
Research notes
I reviewed the official actions/setup-node repository for breaking changes between v4→v6:
Breaking changes in v6:
- Automatic caching enabled for npm projects when
packageManagerordevEngines.packageManagerinpackage.jsonis set tonpm always-authinput removed (deprecated)
Breaking changes in v5:
- Caching enabled by default with package manager detection
- Action runtime upgraded from node20 to node24
Impact on this repo: Neither workflow uses the always-auth input (no migration needed). The workflows don't specify cache: explicitly, so behavior depends on whether typescript/package.json declares a packageManager field — if it does and it's npm, caching becomes automatic (a benefit); otherwise, behavior is unchanged. The action's internal runtime upgrade (node20→node24) doesn't affect the node-version: "22" that the workflow explicitly requests.
Suggested next steps
- Merge this PR as-is — no changes needed.
- (Optional follow-up) Consider explicitly adding
cache: 'npm'to the TypeScript workflow if you want deterministic caching behavior regardless ofpackage.jsoncontents, or add apackageManagerfield totypescript/package.jsonto leverage the new automatic caching.
General findings
None. This is a straightforward, low-risk dependency bump with no regressions identified.
This PR contains the following updates:
v4→v6Release Notes
actions/setup-node (actions/setup-node)
v6.4.0Compare Source
v6.3.0Compare Source
What's Changed
Enhancements:
devEnginesfield by @susnux in #1283Dependency updates:
Bug fixes:
New Contributors
Full Changelog: actions/setup-node@v6...v6.3.0
v6.2.0Compare Source
v6.1.0Compare Source
What's Changed
Enhancement:
Dependency updates:
Documentation update:
Full Changelog: actions/setup-node@v6...v6.1.0
v6.0.0Compare Source
What's Changed
Breaking Changes
Dependency Upgrades
Full Changelog: actions/setup-node@v5...v6.0.0
v6Compare Source
v5.0.0Compare Source
What's Changed
Breaking Changes
This update, introduces automatic caching when a valid
packageManagerfield is present in yourpackage.json. This aims to improve workflow performance and make dependency management more seamless.To disable this automatic caching, set
package-manager-cache: falseMake sure your runner is on version v2.327.1 or later to ensure compatibility with this release. See Release Notes
Dependency Upgrades
New Contributors
Full Changelog: actions/setup-node@v4...v5.0.0
v5Compare Source
v4.4.0Compare Source
What's Changed
Bug fixes:
Enhancement:
Dependency update:
New Contributors
Full Changelog: actions/setup-node@v4...v4.4.0
v4.3.0Compare Source
What's Changed
Dependency updates
New Contributors
Full Changelog: actions/setup-node@v4...v4.3.0
v4.2.0Compare Source
What's Changed
@actions/cacheto^4.0.0by @priyagupta108 in #1191New Contributors
Full Changelog: actions/setup-node@v4...v4.2.0
v4.1.0Compare Source
What's Changed
isGheslogic by @jww3 in #1148This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts.
Note: This change may break previous cache keys as they will no longer be compatible with the new format.
New Contributors
Full Changelog: actions/setup-node@v4...v4.1.0
v4.0.4Compare Source
What's Changed
Documentation changes:
New Contributors
Full Changelog: actions/setup-node@v4...v4.0.4
v4.0.3Compare Source
What's Changed
Bug fixes:
Documentation changes:
Dependency updates:
New Contributors
Full Changelog: actions/setup-node@v4...v4.0.3
v4.0.2Compare Source
What's Changed
volta.extendsby @ThisIsManta in #921New Contributors
Full Changelog: actions/setup-node@v4.0.1...v4.0.2
v4.0.1Compare Source
What's Changed
package.jsontonode-version-filelist of examples. by @TWiStErRob in #879New Contributors
Full Changelog: actions/setup-node@v4...v4.0.1
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.