Skip to content

chore(deps): update actions/setup-node action to v7 - #920

Merged
ryanio merged 1 commit into
mainfrom
renovate/actions-setup-node-7.x
Jul 30, 2026
Merged

chore(deps): update actions/setup-node action to v7#920
ryanio merged 1 commit into
mainfrom
renovate/actions-setup-node-7.x

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

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

v7.0.0

Compare Source

What's Changed
Enhancements:
Bug fixes:
Documentation updates:
Dependency update:
New Contributors

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

v7

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 9am on monday"
  • 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.

@ryanio ryanio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approving. Checks green, and the v7 stability window has passed.

The major bump is driven by setup-node's internal ESM migration, not by any input change — node-version, node-version-file, cache and registry-url all keep their current semantics, so no edits are needed beyond the version.

The one item worth a look was "Remove dummy NODE_AUTH_TOKEN export" (actions/setup-node#1558), since npm-publish.yml sets registry-url and that workflow only runs on release: published — it never gets exercised by PR CI. Checked the upstream rationale:

While this didn't break OIDC flows, it could corrupt the user's .npmrc by injecting a non-functional token value into the environment, potentially causing confusing behavior during OIDC publish. This PR removes the dummy fallback and only exports NODE_AUTH_TOKEN when the user has explicitly set it.

This repo publishes via npm Trusted Publishing — permissions: id-token: write plus npm publish --provenance, with no NODE_AUTH_TOKEN or NPM_TOKEN anywhere in the workflow. So dropping the dummy is neutral-to-beneficial here: nothing depended on the placeholder, and the .npmrc written alongside the OIDC exchange is now cleaner.

The three main.yaml jobs did run on v7 in this PR's own CI and passed, which covers the node-version: 24.x + cache: npm path directly. npm-publish.yml stays unverified until a release is cut, so that is the thing to keep an eye on next publish.

@ryanio
ryanio merged commit b847396 into main Jul 30, 2026
9 checks passed
@ryanio
ryanio deleted the renovate/actions-setup-node-7.x branch July 30, 2026 21:55
@ryanio ryanio mentioned this pull request Jul 30, 2026
2 tasks
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.

1 participant