chore(deps): update actions/setup-node action to v6#347
chore(deps): update actions/setup-node action to v6#347smartway-bot[bot] wants to merge 1 commit into
Conversation
c4f006d to
480524c
Compare
📝 WalkthroughWalkthroughGitHub Actions workflows updated to use Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.github/workflows/build-and-publish-npm-package.yml (1)
15-19:⚠️ Potential issue | 🟠 MajorReview the upgrade to actions/setup-node@v6 for breaking changes and update accordingly.
actions/setup-node@v6 has breaking changes from v3:
- Automatic npm caching is now npm-only; if the workflow uses yarn or pnpm, you must explicitly set the cache input or disable auto-caching with
package-manager-cache: false- The
always-authinput has been removed (v6.1.0)Node.js version 24 is available and stable (Active LTS, support until 2028-04-30), so no concerns there.
Verify that the workflow doesn't rely on yarn/pnpm caching auto-detection or the removed
always-authinput.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/build-and-publish-npm-package.yml around lines 15 - 19, Update the workflow usage of actions/setup-node@v6 to handle its breaking changes: remove any use of the deprecated always-auth input and, if the project uses yarn or pnpm (or relies on automatic package manager detection), explicitly set the new cache behaviour using the package-manager-cache input or set package-manager-cache: false to disable auto-caching; verify the step that references actions/setup-node@v6 in the workflow and adjust its inputs accordingly (e.g., remove always-auth and add package-manager-cache when needed).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In @.github/workflows/build-and-publish-npm-package.yml:
- Around line 15-19: Update the workflow usage of actions/setup-node@v6 to
handle its breaking changes: remove any use of the deprecated always-auth input
and, if the project uses yarn or pnpm (or relies on automatic package manager
detection), explicitly set the new cache behaviour using the
package-manager-cache input or set package-manager-cache: false to disable
auto-caching; verify the step that references actions/setup-node@v6 in the
workflow and adjust its inputs accordingly (e.g., remove always-auth and add
package-manager-cache when needed).
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 7f513a3e-56f5-433d-9ef4-2d91ea1a9a33
📒 Files selected for processing (2)
.github/workflows/build-and-publish-npm-package.yml.github/workflows/unit-tests.yml
This PR contains the following updates:
v3->v6Release Notes
actions/setup-node (actions/setup-node)
v6Compare Source
v5Compare Source
v4Compare Source
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 06:59 AM, only on Monday ( * 0-6 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 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 has been generated by Renovate Bot.