Skip to content

build(deps): bump actions/setup-node from 4 to 6#1228

Merged
ErikBjare merged 1 commit intomasterfrom
dependabot/github_actions/actions/setup-node-6
Mar 21, 2026
Merged

build(deps): bump actions/setup-node from 4 to 6#1228
ErikBjare merged 1 commit intomasterfrom
dependabot/github_actions/actions/setup-node-6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2026

Bumps actions/setup-node from 4 to 6.

Release notes

Sourced from actions/setup-node's releases.

v6.0.0

What's Changed

Breaking Changes

Dependency Upgrades

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

v5.0.0

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

v4.4.0

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 21, 2026
@ErikBjare ErikBjare merged commit 4f6d24d into master Mar 21, 2026
14 checks passed
@dependabot dependabot bot deleted the dependabot/github_actions/actions/setup-node-6 branch March 21, 2026 12:12
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Mar 21, 2026

Greptile Summary

This is a routine Dependabot-generated bump of actions/setup-node from v4 to v6 across both CI workflow files. The change is minimal (two one-line version number updates) and fits cleanly into the existing workflow structure.

Key notes on the skipped versions:

  • v5 breaking change: Introduced automatic npm/yarn/pnpm cache when a packageManager field is detected in package.json. This would not conflict with the existing explicit actions/cache@v4 steps for node_modules, since setup-node's built-in caching targets the global package manager cache, not node_modules directly.
  • v6 breaking change: Limits the automatic caching back to npm only. Both workflows hash **/package-lock.json for their cache keys, confirming npm usage, so behavior is consistent.
  • v5 runner requirement: Requires GitHub Actions runner v2.327.1+ for node24 internal runtime compatibility. GitHub-hosted runners (ubuntu-24.04, windows-latest, macos-14, macos-latest) are kept up to date and satisfy this requirement.

No functional issues were identified.

Confidence Score: 5/5

  • This PR is safe to merge — it is a minimal, low-risk version bump with no logic changes.
  • Only two lines changed across two files, both upgrading a well-maintained GitHub Action from v4 to v6. The workflows already handle their own node_modules caching explicitly, the breaking changes in v5/v6 do not affect this usage, and GitHub-hosted runners meet the minimum runner version requirement.
  • No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/build-tauri.yml Bumps actions/setup-node from v4 to v6 on line 66; no other changes. Existing manual node_modules caching and node-version: 22 are unaffected.
.github/workflows/build.yml Bumps actions/setup-node from v4 to v6 on line 67; no other changes. Existing manual node_modules caching and node-version: 22 are unaffected.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Workflow triggered] --> B[checkout]
    B --> C[setup-python v5]
    C --> D{skip_webui?}
    D -- false --> E["setup-node v6 - upgraded\nnode-version 22"]
    D -- true --> F[Skip Node setup]
    E --> G[cache node_modules]
    F --> G
    G --> H[Build and Test]
    H --> I[Package and Upload]
Loading

Last reviewed commit: "build(deps): bump ac..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant