Skip to content

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

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

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

Conversation

@renovate

@renovate renovate Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

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

v6.5.0

Compare Source

What's Changed

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

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


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 is behind base branch, 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.

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The CI and publishing workflows upgrade actions/setup-node from v5 to v7 without changing their existing job logic or commands.

Changes

CI action updates

Layer / File(s) Summary
Update Node.js setup action
.github/workflows/ci.yml, .github/workflows/publish.yml
Both workflows upgrade actions/setup-node from v5 to v7 while retaining their existing configuration and workflow steps.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: skiipy11

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: updating actions/setup-node to v7.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/actions-setup-node-7.x

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/workflows/ci.yml (1)

21-21: 🚀 Performance & Scalability | 🔵 Trivial | ⚡ Quick win

Configure caching for both package roots, or disable it explicitly.

setup-node@v7 can automatically enable npm caching, but its default dependency-file lookup is rooted at the repository root. This workflow installs from both api and mcp-server, so cache invalidation may not track the lockfiles used by either install. Configure cache-dependency-path for both lockfiles, or set package-manager-cache: false. (github.com)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml at line 21, Update the actions/setup-node step to
explicitly handle caching for both package roots by configuring
cache-dependency-path with the api and mcp-server lockfiles; alternatively
disable package-manager caching explicitly. Ensure the workflow no longer relies
on repository-root dependency-file discovery.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/publish.yml:
- Line 21: Make setup-node caching explicit in both workflows: in
.github/workflows/publish.yml lines 21-21, disable package-manager caching
unless a trusted cache is intentionally required; in .github/workflows/ci.yml
lines 21-21, configure cache-dependency-path for the api and mcp-server
lockfiles or disable caching. Update the setup-node steps without changing
unrelated workflow behavior.

---

Nitpick comments:
In @.github/workflows/ci.yml:
- Line 21: Update the actions/setup-node step to explicitly handle caching for
both package roots by configuring cache-dependency-path with the api and
mcp-server lockfiles; alternatively disable package-manager caching explicitly.
Ensure the workflow no longer relies on repository-root dependency-file
discovery.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 98cc9b72-dedb-4bcf-a8f2-fb06d78f60e5

📥 Commits

Reviewing files that changed from the base of the PR and between a3829f8 and f9ae63a.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • .github/workflows/publish.yml

Comment thread .github/workflows/publish.yml Outdated
persist-credentials: false

- uses: actions/setup-node@v5
- uses: actions/setup-node@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Make setup-node caching explicit in both workflows.

Leaving automatic npm caching implicit creates inconsistent cache invalidation in this monorepo and exposes the credentialed publish job to unnecessary cache-poisoning risk.

  • .github/workflows/publish.yml#L21-L21: set package-manager-cache: false, unless a deliberately trusted cache is required.
  • .github/workflows/ci.yml#L21-L21: configure cache-dependency-path for the api and mcp-server lockfiles, or disable caching.
🧰 Tools
🪛 zizmor (1.26.1)

[error] 21-21: runtime artifacts potentially vulnerable to a cache poisoning attack (cache-poisoning): enables caching by default

(cache-poisoning)

📍 Affects 2 files
  • .github/workflows/publish.yml#L21-L21 (this comment)
  • .github/workflows/ci.yml#L21-L21
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/publish.yml at line 21, Make setup-node caching explicit
in both workflows: in .github/workflows/publish.yml lines 21-21, disable
package-manager caching unless a trusted cache is intentionally required; in
.github/workflows/ci.yml lines 21-21, configure cache-dependency-path for the
api and mcp-server lockfiles or disable caching. Update the setup-node steps
without changing unrelated workflow behavior.

Source: Linters/SAST tools

@renovate
renovate Bot force-pushed the renovate/actions-setup-node-7.x branch from f9ae63a to 5a3d779 Compare July 21, 2026 15:17
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