Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Bumps actions/setup-node from 3 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions Node.js setup to v6 across workflows for improved compatibility and maintenance.
    • Enabled pnpm caching in selected workflows to optimize build and publish performance and reduce CI time.

✏️ Tip: You can customize this high-level summary in your review settings.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code labels Nov 24, 2025
@vercel
Copy link

vercel bot commented Nov 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
pipedream-docs Ignored Ignored Nov 24, 2025 5:12pm
pipedream-docs-redirect-do-not-edit Ignored Ignored Nov 24, 2025 5:12pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 24, 2025

Walkthrough

Across multiple GitHub workflow files the actions/setup-node usage is standardized to @v6. Some workflows also add cache: 'pnpm'. Node versions and registry URLs are preserved; no other workflow steps or control flow were changed.

Changes

Cohort / File(s) Change Summary
Upgrade setup-node to v6 only
.github/workflows/components-pr.yaml, .github/workflows/pipedream-sdk-test.yaml, .github/workflows/publish-components.yaml, .github/workflows/publish-packages.yaml
Replaced older actions/setup-node versions (v3 or v4.x) with actions/setup-node@v6; kept node-version and registry-url inputs unchanged.
Upgrade setup-node to v6 with pnpm cache
.github/workflows/publish-marketplace-content.yaml, .github/workflows/publish-platform-package.yaml, .github/workflows/pull-request-checks.yaml, .github/workflows/push-registry-app-files-supabase.yaml, .github/workflows/scheduled-package-validation.yaml
Updated actions/setup-node to @v6 and added cache: 'pnpm' in the with block; other inputs (e.g., node-version, registry-url) remain the same.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

  • Pattern is homogeneous (action version bump and occasional cache flag).
  • Pay attention to workflows that added cache: 'pnpm' to ensure intended cache scope and syntax: .github/workflows/publish-marketplace-content.yaml, .github/workflows/publish-platform-package.yaml, .github/workflows/pull-request-checks.yaml, .github/workflows/push-registry-app-files-supabase.yaml, .github/workflows/scheduled-package-validation.yaml.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description lacks the required 'WHY' section specified in the template. The description is auto-generated by Dependabot and focuses on release notes and technical details. Add a 'WHY' section explaining the business or technical rationale for upgrading actions/setup-node from v3 to v6, including any benefits or risks addressed.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly and accurately summarizes the main change: upgrading actions/setup-node from version 3 to 6 across multiple GitHub Actions workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/github_actions/actions/setup-node-6

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

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (6)
.github/workflows/push-registry-app-files-supabase.yaml (1)

25-44: I'll search for the official documentation on actions/setup-node@v6 to verify the claims about automatic pnpm caching.

Based on my verification through official GitHub Actions documentation and pnpm project issues, I found key information about the cache configuration.

A GitHub issue in the pnpm/action-setup repository confirms that having both setup-node cache: 'pnpm' and manual actions/cache create duplicate caching to the same directory, describing it as a duplication. The official pnpm documentation for GitHub Actions shows the recommended pattern uses pnpm/action-setup followed by actions/setup-node@v4 with cache: 'pnpm' and then pnpm install.

However, the original review comment contains a misleading explanation. According to setup-node documentation, for pnpm, caching is disabled by default and must be configured manually using the cache input—this is not automatic. The cache: 'pnpm' parameter is explicit configuration, not automatic behavior.


Redundant pnpm cache configuration in setup-node v6.

Lines 25-38 (manual pnpm cache setup with actions/cache@v4) and line 40 (setup-node with cache: 'pnpm') are redundant. Both write to the same pnpm store directory. Remove the manual cache steps (lines 25-38) and keep only the cache: 'pnpm' configuration in the setup-node step.

Note: Pnpm caching is not automatic by default; it requires explicit configuration via the cache input.

.github/workflows/pull-request-checks.yaml (1)

62-83: Now I need to verify the actual workflow file to confirm the code and line numbers match:

Based on my verification through web searches and documentation review, the original review comment's analysis is accurate. The official setup-node v6 documentation shows the recommended sequence: pnpm/action-setup followed by setup-node with cache: 'pnpm', then pnpm install. When setup-node configures cache for pnpm, it should come before the install step to be effective.

In the current workflow, the pnpm install -r step executes before setup-node@v6, meaning the setup-node cache cannot assist with the initial install. The setup-node action uses actions/cache under the hood for caching and supports pnpm, making the manual cache setup redundant when combined with the cache: 'pnpm' parameter.

Restructure the workflow to fix the step ordering and eliminate redundancy.

The manual pnpm cache setup (lines 62-75) should be removed entirely, and setup-node@v6 should be moved before the pnpm install -r step. This follows the documented best practice: pnpm/action-setup → setup-node with cache → pnpm install. This way, the cache is prepared before dependencies are installed.

.github/workflows/publish-marketplace-content.yaml (1)

15-36: Redundant and misordered pnpm cache setup — fix required.

The workflow contains a caching redundancy with incorrect ordering. The manual pnpm cache (using actions/cache@v4) executes before pnpm install, but setup-node@v6 with cache: 'pnpm' comes after the install. According to GitHub Actions best practices, setup-node's cache mechanism must be configured before the install step to take effect; the current ordering means the initial install does not benefit from setup-node's automatic caching.

Remove the manual cache setup (lines 17–27) and move setup-node@v6 before the pnpm install step, or keep the manual cache and remove the cache: 'pnpm' parameter from setup-node.

.github/workflows/publish-components.yaml (2)

123-142: Remove redundant caching configuration—either use manual actions/cache@v4 OR setup-node's cache: 'pnpm', not both.

The workflow correctly installs pnpm before setup-node@v6, so the automatic cache: 'pnpm' parameter will work. However, the manual cache setup (lines 27-37) and the cache: 'pnpm' parameter (line 43) both target the same pnpm store directory, creating redundancy. Choose one caching strategy: either remove the manual cache steps and rely on setup-node's built-in caching, or remove the cache: 'pnpm' parameter.


15-36: Redundant pnpm cache in both publish jobs.

Manual pnpm cache (lines 22–28) conflicts with setup-node@v6's automatic cache: 'pnpm' parameter (line 32). In the publish-components job, the automatic cache runs after pnpm install (line 30), providing no benefit. In publish-typescript-components (lines 130–144), the same redundancy exists despite better step ordering.

Remove the manual actions/cache@v4 steps and ensure setup-node@v6 runs before pnpm install, or remove the cache: 'pnpm' parameter and keep the manual cache. Choose one caching strategy consistently across both jobs.

.github/workflows/components-pr.yaml (1)

141-160: Remove redundant pnpm cache configuration in publish-typescript-components-dry-run job.

Lines 145-154 set up manual pnpm cache while line 160 includes cache: 'pnpm' in setup-node@v6—these are redundant. Other workflows (e.g., scheduled-package-validation.yaml) use setup-node's automatic caching exclusively. Either remove the manual cache setup (lines 145-154) and keep cache: 'pnpm', or remove cache: 'pnpm' and retain manual cache for consistency.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 76d24db and 35edd73.

📒 Files selected for processing (9)
  • .github/workflows/components-pr.yaml (2 hunks)
  • .github/workflows/pipedream-sdk-test.yaml (1 hunks)
  • .github/workflows/publish-components.yaml (2 hunks)
  • .github/workflows/publish-marketplace-content.yaml (1 hunks)
  • .github/workflows/publish-packages.yaml (1 hunks)
  • .github/workflows/publish-platform-package.yaml (1 hunks)
  • .github/workflows/pull-request-checks.yaml (1 hunks)
  • .github/workflows/push-registry-app-files-supabase.yaml (1 hunks)
  • .github/workflows/scheduled-package-validation.yaml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
🔇 Additional comments (4)
.github/workflows/scheduled-package-validation.yaml (1)

18-30: Correct pnpm caching setup for setup-node v6.

This workflow correctly implements the v6 upgrade without redundant manual pnpm cache steps. The setup-node automatic caching via cache: 'pnpm' is properly positioned before the pnpm install, allowing the install step to benefit from cached dependencies.

.github/workflows/components-pr.yaml (1)

52-71: ****

The stated execution order is incorrect. In the workflow, setup-node@v6 (lines 64–69) executes before pnpm install -r (lines 70–71), not after. The execution sequence is correct.

However, there is a legitimate caching redundancy: both the manual actions/cache@v4 (lines 57–63) and setup-node@v6 with cache: 'pnpm' (lines 64–69) manage pnpm caching. You can simplify by removing the manual cache configuration and relying solely on setup-node's automatic caching, or vice versa. This same pattern exists in the publish-typescript-components-dry-run job (lines ~141–162).

Likely an incorrect or invalid review comment.

.github/workflows/publish-packages.yaml (1)

24-44: The asymmetric caching strategy is intentional and follows best practices; no major issue exists.

The conditional manual cache and unconditional setup-node cache are both by design:

  • The inline comment documents that manual cache is deliberately disabled for master branch (dry runs only)
  • setup-node@v6 with cache: 'pnpm' is the GitHub Actions recommended approach for automatic dependency caching and runs on all branches as intended
  • Both can coexist without conflict; setup-node handles caching automatically while the manual layer provides explicit control for non-master runs

The manual cache layer may be somewhat redundant given setup-node's built-in caching, but this is a minor inefficiency, not a critical flaw. The workflow is documented and functioning correctly.

Likely an incorrect or invalid review comment.

.github/workflows/publish-platform-package.yaml (1)

19-23: ✓ actions/setup-node v6 correctly configured with pnpm caching fully verified.

The web search confirms that actions/setup-node v6 supports the cache: 'pnpm' parameter. The workflow correctly satisfies the requirement of installing pnpm separately before using the cache—pnpm/action-setup@v4.0.0 at line 16 runs before setup-node@v6 at lines 19-23, ensuring pnpm is available when caching is enabled.

Comment on lines 36 to 40
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: '22'

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

Inconsistent setup-node cache configuration compared to other workflows.

Unlike other workflows in this PR, setup-node@v6 here does not include cache: 'pnpm'. The workflow still relies solely on manual pnpm cache (lines 21-34). All other updated workflows add cache: 'pnpm' to enable setup-node v6's automatic pnpm caching.

Verify whether this difference is intentional (e.g., due to node version 22 vs 18) or should be aligned with other workflows for consistency.

Confirm whether cache: 'pnpm' should be added here to match the pattern in other workflows, or if manual caching is intentionally preferred for SDK tests.


🏁 Script executed:

#!/bin/bash
# Find all workflow files and display their setup-node configurations
echo "=== All workflow files in .github/workflows ==="
fd -e yaml -e yml . .github/workflows/ 2>/dev/null | sort

echo -e "\n=== Checking setup-node configurations ==="
for file in .github/workflows/*.{yaml,yml} .github/workflows/**/*.{yaml,yml} 2>/dev/null; do
  if [ -f "$file" ]; then
    echo -e "\n--- $file ---"
    rg -A5 "actions/setup-node" "$file" || echo "  (no setup-node found)"
  fi
done

Length of output: 733


🏁 Script executed:

#!/bin/bash
# Extract setup-node configurations from all workflow files

echo "=== setup-node configurations across workflows ==="

for file in .github/workflows/*.yaml .github/workflows/*.yml; do
  if [ -f "$file" ]; then
    echo -e "\n--- $file ---"
    rg -B2 -A8 "setup-node" "$file"
  fi
done

echo -e "\n=== Checking manual pnpm cache in pipedream-sdk-test.yaml (lines 21-34) ==="
sed -n '21,34p' .github/workflows/pipedream-sdk-test.yaml

Length of output: 4822


Align setup-node cache configuration with other workflows.

Verified: pipedream-sdk-test.yaml is the only workflow using setup-node@v6 without the cache: 'pnpm' parameter. All 8 other workflows (components-pr.yaml, publish-components.yaml, publish-packages.yaml, pull-request-checks.yaml, etc.) include this parameter. While the manual pnpm cache (lines 21-34) works correctly, adding cache: 'pnpm' to lines 36-40 would align this workflow with the established pattern and leverage setup-node v6's native caching feature.

🤖 Prompt for AI Agents
In .github/workflows/pipedream-sdk-test.yaml around lines 36 to 40, the
actions/setup-node@v6 step is missing the cache: 'pnpm' parameter used across
other workflows; add cache: 'pnpm' under the with: block for setup-node so it
uses native pnpm caching (removing or keeping the manual pnpm cache step is
optional but aligning to other workflows requires adding cache: 'pnpm' here).

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3...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 force-pushed the dependabot/github_actions/actions/setup-node-6 branch from 35edd73 to 4c66f80 Compare November 24, 2025 17:12
@luancazarine luancazarine moved this from Ready for PR Review to In Review in Component (Source and Action) Backlog Nov 24, 2025
Copy link
Collaborator

@luancazarine luancazarine left a comment

Choose a reason for hiding this comment

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

LGTM!

@luancazarine luancazarine merged commit 6845b85 into master Nov 24, 2025
7 checks passed
@luancazarine luancazarine deleted the dependabot/github_actions/actions/setup-node-6 branch November 24, 2025 21:39
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 User submitted Submitted by a user

Development

Successfully merging this pull request may close these issues.

3 participants