Skip to content

chore(deps): update actions/setup-node action to v6#27

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/actions-setup-node-6.x
Open

chore(deps): update actions/setup-node action to v6#27
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/actions-setup-node-6.x

Conversation

@renovate

@renovate renovate Bot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/setup-node action major v4v6

Release Notes

actions/setup-node (actions/setup-node)

v6.4.0

Compare Source

What's Changed

Dependency updates:

New Contributors

Full Changelog: actions/setup-node@v6...v6.4.0

v6.3.0

Compare Source

What's Changed

Enhancements:

When using node-version-file: package.json, setup-node now prefers devEngines.runtime over engines.node.

Dependency updates:
Bug fixes:

New Contributors

Full Changelog: actions/setup-node@v6...v6.3.0

v6.2.0

Compare Source

What's Changed

Documentation
Dependency updates:

New Contributors

Full Changelog: actions/setup-node@v6...v6.2.0

v6.1.0

Compare Source

What's Changed

Enhancement:
Dependency updates:
Documentation update:

Full Changelog: actions/setup-node@v6...v6.1.0

v6.0.0

Compare Source

What's Changed

Breaking Changes

Dependency Upgrades

Full Changelog: actions/setup-node@v5...v6.0.0

v6

Compare Source

v5.0.0

Compare Source

What's Changed

Breaking Changes

This update, introduces automatic caching when a valid packageManager field is present in your package.json. This aims to improve workflow performance and make dependency management more seamless.
To disable this automatic caching, set package-manager-cache: false

steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
  with:
    package-manager-cache: false

Make 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

v5

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/actions-setup-node-6.x branch 2 times, most recently from cdfbcdc to 68d7299 Compare April 22, 2026 09:27
@renovate renovate Bot force-pushed the renovate/actions-setup-node-6.x branch from 68d7299 to 82af44e Compare April 30, 2026 02:40
@renovate renovate Bot force-pushed the renovate/actions-setup-node-6.x branch from 82af44e to 07fcddd Compare May 13, 2026 04:10

@doubleword-code doubleword-code Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. Automatic caching enabled for npm projects when packageManager or devEngines.packageManager in package.json is set to npm
  2. always-auth input removed (deprecated)

Breaking changes in v5:

  1. Caching enabled by default with package manager detection
  2. 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

  1. Merge this PR as-is — no changes needed.
  2. (Optional follow-up) Consider explicitly adding cache: 'npm' to the TypeScript workflow if you want deterministic caching behavior regardless of package.json contents, or add a packageManager field to typescript/package.json to leverage the new automatic caching.

General findings

None. This is a straightforward, low-risk dependency bump with no regressions identified.

@renovate renovate Bot force-pushed the renovate/actions-setup-node-6.x branch from 07fcddd to 1e89517 Compare June 3, 2026 13:39

@doubleword-code doubleword-code Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

This PR updates the actions/setup-node GitHub Action from v4 to v6 in two workflow files (.github/workflows/ci.yml and .github/workflows/publish.yml). This is a routine dependency upgrade that brings security patches, bug fixes, and aligns with current best practices.

Verdict: Approved — The upgrade is safe and recommended. No breaking changes affect this repository's workflows.

Research notes

I reviewed the v6.0.0 release notes and main documentation:

Breaking changes in v6

  • Caching behavior: Automatic caching is now limited to npm projects where devEngines.packageManager or packageManager field in package.json is set to npm. Other package managers (Yarn, pnpm) require explicit cache: configuration.
  • always-auth input removed: Deprecated and no longer supported.

Breaking changes in v5 (also relevant since upgrading from v4 → v6)

  • Enabled caching by default with package manager detection if no cache input is provided.
  • Upgraded action runtime from node20 to node24 (requires runner v2.327.1+).

Impact assessment for this repository

The typescript/package.json does not include a packageManager or devEngines.packageManager field. Since the workflows also don't explicitly specify cache: 'npm', the new automatic caching will not be triggered. The current behavior (no caching) remains unchanged after this upgrade.

If caching is desired for faster CI builds, consider adding cache: 'npm' to the setup-node steps in a follow-up PR.

Suggested next steps

  1. Merge this PR — The upgrade is safe and has no adverse impact on existing functionality.
  2. (Optional follow-up) Consider whether npm dependency caching would benefit CI performance. If so, add cache: 'npm' to both workflow files:
    - uses: actions/setup-node@v6
      with:
        node-version: "22"
        cache: 'npm'  # Add this line

General findings

None. The change is minimal, well-scoped, and follows standard dependency update practices.

@renovate renovate Bot force-pushed the renovate/actions-setup-node-6.x branch from 1e89517 to 48235d6 Compare June 21, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants