Skip to content

Conversation

@pgoslatara
Copy link

@pgoslatara pgoslatara commented Jan 15, 2026

This PR updates outdated GitHub Action versions.

  • Updated actions/setup-node from v4 to v6 in .github/workflows/js_autofix.yml
  • Updated actions/checkout from v3 to v6 in .github/workflows/migration-validation.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/jest_test.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/deploy_gh-pages.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/typescript_test.yml
  • Updated actions/download-artifact from v5 to v7 in .github/workflows/release_nightly.yml
  • Updated actions/setup-python from v4 to v6 in .github/workflows/migration-validation.yml
  • Updated actions/download-artifact from v5 to v7 in .github/workflows/release-lfx.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/python_test.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/deploy-docs-draft.yml
  • Updated actions/setup-python from v5 to v6 in .github/workflows/cross-platform-test.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/smoke-tests.yml
  • Updated actions/setup-python from v5 to v6 in .github/workflows/smoke-tests.yml
  • Updated actions/download-artifact from v5 to v7 in .github/workflows/release.yml
  • Updated peter-evans/create-pull-request from v7 to v8 in .github/workflows/store_pytest_durations.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/cross-platform-test.yml
  • Updated actions/cache from v4 to v5 in .github/workflows/js_autofix.yml
  • Updated actions/github-script from v6 to v8 in .github/workflows/migration-validation.yml
  • Updated actions/github-script from v7 to v8 in .github/workflows/smoke-tests.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/docs_test.yml
  • Updated docker/build-push-action from v5 to v6 in .github/workflows/release-lfx.yml
  • Updated actions/cache from v4 to v5 in .github/workflows/lint-js.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/deploy-docs-draft.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/python_test.yml
  • Updated actions/setup-python from v5 to v6 in .github/workflows/ci.yml
  • Updated actions/setup-python from v5 to v6 in .github/workflows/template-tests.yml
  • Updated actions/cache from v4 to v5 in .github/workflows/typescript_test.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/release_nightly.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/lint-js.yml
  • Updated actions/download-artifact from v5 to v7 in .github/workflows/typescript_test.yml
  • Updated actions/github-script from v7 to v8 in .github/workflows/community-label.yml
  • Updated actions/github-script from v7 to v8 in .github/workflows/add-labels.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/release.yml
  • Updated peter-evans/create-pull-request from v7 to v8 in .github/workflows/docs-update-openapi.yml
  • Updated actions/github-script from v7 to v8 in .github/workflows/request-docs-review.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/jest_test.yml
  • Updated actions/download-artifact from v5 to v7 in .github/workflows/cross-platform-test.yml
  • Updated actions/download-artifact from v5 to v7 in .github/workflows/create-release.yml
  • Updated actions/setup-node from v4 to v6 in .github/workflows/deploy-storybook.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/release-lfx.yml
  • Updated actions/github-script from v7 to v8 in .github/workflows/store_pytest_durations.yml
  • Updated actions/upload-artifact from v4 to v6 in .github/workflows/typescript_test.yml

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions workflow dependencies to their latest stable versions across continuous integration pipelines, ensuring enhanced stability and access to recent tool improvements.

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

@github-actions github-actions bot added the community Pull Request from an external contributor label Jan 15, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 15, 2026

Walkthrough

This pull request updates GitHub Actions versions across 21 workflow files in .github/workflows/. Multiple external actions are bumped to newer versions, including setup-node, setup-python, github-script, upload-artifact, download-artifact, checkout, cache, docker/build-push-action, and create-pull-request. No workflow logic or control flow is modified.

Changes

Cohort / File(s) Summary
setup-node v4→v6
ci.yml, deploy-docs-draft.yml, deploy_gh-pages.yml, docs_test.yml, jest_test.yml, js_autofix.yml, lint-js.yml, python_test.yml, smoke-tests.yml, typescript_test.yml
Updated actions/setup-node from v4 to v6 across multiple workflows. Some files include additional cache configuration (cache and cache-dependency-path parameters).
setup-python v4/v5→v6
ci.yml, migration-validation.yml, python_test.yml, smoke-tests.yml, template-tests.yml
Updated actions/setup-python from v4 or v5 to v6 in Python setup steps.
github-script v6/v7→v8
add-labels.yml, community-label.yml, request-docs-review.yml, smoke-tests.yml, store_pytest_durations.yml
Updated actions/github-script from v6 or v7 to v8 in script execution steps.
artifact-related actions
cross-platform-test.yml, deploy-docs-draft.yml, jest_test.yml, release-lfx.yml, release.yml, release_nightly.yml, typescript_test.yml
Updated upload-artifact (v4→v6), download-artifact (v5→v7), and related artifact handling actions across build, test, and release workflows.
cache and checkout upgrades
js_autofix.yml, lint-js.yml, migration-validation.yml, typescript_test.yml
Updated actions/cache (v4→v5), actions/checkout (v3→v6), and docker/build-push-action (v5→v6).
create-pull-request and misc upgrades
docs-update-openapi.yml, create-release.yml, deploy-storybook.yml, store_pytest_durations.yml
Updated peter-evans/create-pull-request (v7→v8), actions/download-artifact (v5→v7), and actions/setup-node (v4→v6) in various workflows.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested reviewers

  • Cristhianzl
🚥 Pre-merge checks | ✅ 7
✅ Passed checks (7 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Test Coverage For New Implementations ✅ Passed PR exclusively updates GitHub Actions versions in CI/CD workflow files with no application code changes, so test files are not required.
Test Quality And Coverage ✅ Passed PR exclusively updates GitHub Actions versions in workflow configuration files; no new functionality or code that requires test coverage.
Test File Naming And Structure ✅ Passed The custom check for Test File Naming and Structure is not applicable. This PR exclusively updates GitHub Actions versions across workflow files with no changes to test files.
Excessive Mock Usage Warning ✅ Passed This PR contains only GitHub Actions workflow YAML files, not test files. The custom check for excessive mock usage in tests is inapplicable.
Title check ✅ Passed The PR title 'chore: Update outdated GitHub Actions versions' accurately and clearly describes the main change—updating GitHub Actions across multiple workflow files to newer versions.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 15, 2026
@pgoslatara pgoslatara marked this pull request as ready for review January 15, 2026 18:15
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 15, 2026
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 (2)
.github/workflows/lint-js.yml (1)

48-48: Pre-existing bug: Incorrect cache-hit check.

The conditional checks steps.setup-node.outputs.cache-hit, but the setup-node action doesn't output cache-hit. The cache action (with id npm-cache on line 37) produces this output.

🐛 Proposed fix
-        if: ${{ steps.setup-node.outputs.cache-hit != 'true' }}
+        if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }}
.github/workflows/release.yml (1)

626-629: Inconsistent version: download-artifact@v4 should be @v7.

This action was missed in the version update. All other download-artifact usages in this file (lines 455, 478, 501, 528) use @v7, but this one still uses @v4. This inconsistency could cause issues due to breaking changes between major versions (e.g., different artifact format handling).

Proposed fix
-      - uses: actions/download-artifact@v4
+      - uses: actions/download-artifact@v7
🤖 Fix all issues with AI agents
In @.github/workflows/lint-js.yml:
- Line 30: The cache-hit condition is referencing the wrong step output; replace
any use of steps.setup-node.outputs.cache-hit with the cache action's output
steps.npm-cache.outputs.cache-hit (e.g., update the npm install step's if:
condition to if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }}), ensuring
the workflow checks the cache action's output rather than setup-node.
🧹 Nitpick comments (1)
.github/workflows/js_autofix.yml (1)

36-40: Pre-existing issue: cache-hit output check may never be true.

The condition steps.setup-node.outputs.cache-hit != 'true' references the setup-node step's output, but since the cache input is not set on setup-node, it won't produce a cache-hit output. The separate actions/cache step (id: npm-cache) produces this output instead.

Consider updating the condition to reference the correct step:

🔧 Suggested fix
       - name: Install Node.js dependencies
         run: |
           cd src/frontend
           npm ci
-        if: ${{ steps.setup-node.outputs.cache-hit != 'true' }}
+        if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }}
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 64054fc and af38bec.

📒 Files selected for processing (23)
  • .github/workflows/add-labels.yml
  • .github/workflows/ci.yml
  • .github/workflows/community-label.yml
  • .github/workflows/create-release.yml
  • .github/workflows/cross-platform-test.yml
  • .github/workflows/deploy-docs-draft.yml
  • .github/workflows/deploy-storybook.yml
  • .github/workflows/deploy_gh-pages.yml
  • .github/workflows/docs-update-openapi.yml
  • .github/workflows/docs_test.yml
  • .github/workflows/jest_test.yml
  • .github/workflows/js_autofix.yml
  • .github/workflows/lint-js.yml
  • .github/workflows/migration-validation.yml
  • .github/workflows/python_test.yml
  • .github/workflows/release-lfx.yml
  • .github/workflows/release.yml
  • .github/workflows/release_nightly.yml
  • .github/workflows/request-docs-review.yml
  • .github/workflows/smoke-tests.yml
  • .github/workflows/store_pytest_durations.yml
  • .github/workflows/template-tests.yml
  • .github/workflows/typescript_test.yml
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-11-24T19:46:26.770Z
Learnt from: CR
Repo: langflow-ai/langflow PR: 0
File: .cursor/rules/docs_development.mdc:0-0
Timestamp: 2025-11-24T19:46:26.770Z
Learning: Node.js v22.12 LTS and Yarn package manager must be used for documentation environment setup

Applied to files:

  • .github/workflows/deploy-docs-draft.yml
  • .github/workflows/deploy_gh-pages.yml
  • .github/workflows/smoke-tests.yml
  • .github/workflows/deploy-storybook.yml
📚 Learning: 2025-11-24T19:46:45.790Z
Learnt from: CR
Repo: langflow-ai/langflow PR: 0
File: .cursor/rules/frontend_development.mdc:0-0
Timestamp: 2025-11-24T19:46:45.790Z
Learning: Use Node.js v22.12 LTS for JavaScript runtime

Applied to files:

  • .github/workflows/deploy-docs-draft.yml
  • .github/workflows/deploy_gh-pages.yml
  • .github/workflows/smoke-tests.yml
  • .github/workflows/deploy-storybook.yml
⏰ 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). (1)
  • GitHub Check: test-starter-projects
🔇 Additional comments (49)
.github/workflows/deploy_gh-pages.yml (1)

18-22: actions/setup-node@v6 is a valid release and compatible with this workflow.

v6 is released and production-ready. The primary breaking change (automatic caching limited to npm) does not affect this workflow since it explicitly uses npm. The configuration (node-version: 22, cache: npm, cache-dependency-path: ./docs/package-lock.json) is fully compatible with v6.

.github/workflows/ci.yml (2)

215-217: LGTM!

actions/setup-python@v6 is the latest version (v6.1.0), and the usage with python-version: '3.12' is correct. The action upgraded from node20 to node24 and "Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release."

Since this workflow uses GitHub-hosted runners (ubuntu-latest), this should work without issues.


318-321: LGTM!

The update to actions/setup-python@v6 in the test-templates job is valid. The Python version 3.12 is well supported.

.github/workflows/template-tests.yml (1)

24-27: LGTM!

The update to actions/setup-python@v6 is valid. The workflow uses GitHub-hosted runners (ubuntu-latest), so compatibility is assured.

.github/workflows/add-labels.yml (1)

14-17: LGTM!

The update to actions/github-script@v8 includes "Update Node.js version support to 24.x". The existing script using github.rest.issues.* API remains compatible with v8, as it uses the same Octokit patterns.

.github/workflows/deploy-docs-draft.yml (2)

23-28: LGTM!

The update to actions/setup-node@v6 (v6.1.0) is valid. Node.js version 22 is well supported. Based on learnings, Node.js v22.12 LTS is the recommended version for documentation environment setup, so this aligns well.


261-266: LGTM!

The update to actions/upload-artifact@v6 is valid. Note that "actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading."

Since this workflow uses GitHub-hosted runners (ubuntu-latest), the runner version requirement is automatically satisfied.

.github/workflows/request-docs-review.yml (1)

12-14: LGTM!

The update to actions/github-script@v8 is valid. v8.0.0 updates Node.js version support to 24.x and requires runner v2.327.1+. The github.rest.pulls.requestReviewers API usage remains compatible.

.github/workflows/python_test.yml (3)

71-71: LGTM! Valid upgrade to actions/setup-node@v6.

The v6.1.0 release is available and requires runner version v2.327.1 or later to ensure compatibility.

Since this workflow supports self-hosted runners (lines 27-31, 44-46), verify that all self-hosted runners in your infrastructure are updated to version 2.327.1 or later before merging.


112-120: LGTM! Valid upgrade to actions/upload-artifact@v6.

actions/upload-artifact@v6 now runs on Node.js 24 and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading.

The artifact configuration with name, path, and retention-days remains compatible with v6.


182-190: LGTM! Consistent upgrade for LFX coverage artifacts.

Same valid upgrade to actions/upload-artifact@v6 as the other occurrences in this file.

.github/workflows/js_autofix.yml (2)

21-25: LGTM! Valid upgrade to actions/setup-node@v6.

The v6.0.0 release was published in October 2025, and the upgrade is compatible with the existing configuration.


27-34: LGTM! Valid upgrade to actions/cache@v5.

actions/cache@v5 runs on Node.js 24 and requires a minimum Actions Runner version of 2.327.1. Changes in these releases are fully backward compatible.

.github/workflows/community-label.yml (1)

13-27: LGTM! Valid upgrade to actions/github-script@v8.

The script logic using github.rest.issues.addLabels remains unchanged and compatible with v8.

.github/workflows/docs_test.yml (1)

26-32: LGTM! Valid upgrade with improved caching configuration.

The action has built-in functionality for caching and restoring dependencies using actions/cache under the hood. Supported package managers are npm, yarn, pnpm (v6.10+). The cache input is optional. The action defaults to search for the dependency file in the repository root, and uses its hash as a part of the cache key.

The explicit cache-dependency-path: ./docs/package-lock.json is correctly configured since the package.json is in the docs/ subdirectory.

.github/workflows/deploy-storybook.yml (1)

26-30: LGTM! Valid upgrade with proper caching for frontend assets.

The upgrade to actions/setup-node@v6 with built-in npm caching is well-configured:

  • node-version: 22 aligns with the project's Node.js v22.12 LTS standard (based on learnings).
  • cache-dependency-path: src/frontend/package-lock.json correctly targets the frontend package lock file.

Caching for npm dependencies is automatically enabled when your package.json contains either devEngines.packageManager field or top-level packageManager field set to npm, and no explicit cache input is provided. Explicitly setting cache: npm ensures consistent behavior.

.github/workflows/jest_test.yml (2)

38-43: LGTM!

The setup-node version upgrade to v6 is consistent with the PR-wide update pattern. Node.js version 22 aligns with the project's Node.js v22.12 LTS requirement. Based on learnings.


82-87: LGTM!

The upload-artifact upgrade to v6 is consistent with other workflow files in this PR.

.github/workflows/release.yml (4)

300-303: LGTM!

Upload-artifact upgrade to v6 is consistent with the PR pattern.


381-384: LGTM!

Upload-artifact upgrade to v6 is consistent.


430-433: LGTM!

Upload-artifact upgrade to v6 is consistent.


455-458: LGTM!

Download-artifact upgrades to v7 are consistent across these jobs.

Also applies to: 478-481, 501-504

.github/workflows/create-release.yml (1)

23-26: LGTM!

The download-artifact upgrade to v7 is consistent with other workflow files in this PR.

.github/workflows/smoke-tests.yml (3)

31-33: LGTM!

The setup-python upgrades to v6 are consistent across both backend and LFX smoke test jobs.

Also applies to: 80-82


123-127: LGTM!

The setup-node upgrade to v6 is consistent with the PR pattern. Node.js version 22 aligns with the project's Node.js v22.12 LTS requirement. Based on learnings.


149-150: LGTM!

The github-script upgrade to v8 is consistent with other workflow files in this PR.

.github/workflows/migration-validation.yml (1)

15-15: All three GitHub Actions versions are published and stable as of January 2026.

  • actions/checkout@v6: Stable release with credential handling changes; requires GitHub Actions Runner >= v2.329.0.
  • actions/setup-python@v6: Stable release (v6.0.0); Node 24 runtime upgrade; requires Runner >= v2.327.1.
  • actions/github-script@v8: Stable release (v8.0.0); Node 24 runtime; requires Runner >= v2.327.1.

Version upgrades are valid and well-documented on the Marketplace.

.github/workflows/store_pytest_durations.yml (2)

40-60: LGTM!

The actions/github-script@v8 upgrade is consistent with updates across other workflows in this PR. The script logic using github.rest.pulls.list and github.rest.pulls.update is standard and should work with v8.


62-76: LGTM!

The peter-evans/create-pull-request@v8 update is consistent with the same update in docs-update-openapi.yml. The configuration options used (token, branch-token, commit-message, title, body, branch, branch-suffix, delete-branch, maintainer-can-modify) are standard and supported in v8.

.github/workflows/cross-platform-test.yml (4)

59-67: LGTM!

The actions/upload-artifact@v6 updates are applied consistently to both artifact upload steps. The configuration (name, path) is standard and compatible.


136-140: LGTM!

The actions/setup-python@v6 update is applied. The configuration using python-version and architecture is standard.


434-476: LGTM!

The experimental test job mirrors the stable test job with consistent action version updates for setup-python@v6 and download-artifact@v7.


159-178: No compatibility issue exists.

The actions/upload-artifact@v6 and actions/download-artifact@v7 versions used in this workflow are fully compatible. Both versions use the same v4+ artifact architecture, which ensures interoperability. Incompatibilities only occurred between v3 (and earlier) and v4+; all v4+ releases (v4 through v7) work together seamlessly.

Likely an incorrect or invalid review comment.

.github/workflows/release_nightly.yml (6)

108-112: LGTM!

The actions/upload-artifact@v6 update for LFX artifact upload is consistent with the broader upgrade pattern.


191-195: LGTM!

The actions/upload-artifact@v6 update for base artifact upload maintains consistency.


264-268: LGTM!

The actions/upload-artifact@v6 update for main artifact upload completes the upload action upgrades in this workflow.


290-294: LGTM!

The actions/download-artifact@v7 update for LFX artifact download is consistent.


318-322: LGTM!

The actions/download-artifact@v7 update for base artifact download is consistent.


346-350: LGTM!

The actions/download-artifact@v7 update for main artifact download completes the download action upgrades. The artifact names (dist-nightly-lfx, dist-nightly-base, dist-nightly-main) correctly match between upload and download steps.

.github/workflows/typescript_test.yml (6)

286-295: LGTM!

The actions/setup-node@v6 update in the test job is consistent with the update in the determine-test-suite job.


298-305: LGTM!

The actions/cache@v5 update is a sequential version bump. The cache configuration for Playwright browsers is standard.


349-355: LGTM!

The actions/upload-artifact@v6 update for blob reports is consistent with other workflows.


385-399: LGTM!

The actions/setup-node@v6 and actions/download-artifact@v7 updates in the merge-reports job are consistent. The merge-multiple: true option for downloading multiple blob reports is correctly configured.


407-413: LGTM!

The actions/upload-artifact@v6 update for the merged HTML report completes the version upgrades in this workflow.


216-222: No action needed — actions/setup-node@v6 is released and supports Node.js 22.

The update from v4 to v6 is valid. Version 6 is current in the GitHub Actions marketplace and explicitly supports Node.js 22, which is correctly configured in the workflow via NODE_VERSION: "22". The action version update aligns with the Node.js version requirement.

.github/workflows/docs-update-openapi.yml (1)

109-124: Version update is compatible with current workflow configuration.

The action is correctly updated to v8, and the workflow already uses actions/checkout@v6 as recommended by v8's release notes. All configuration parameters are supported. No compatibility issues.

.github/workflows/release-lfx.yml (3)

263-275: docker/build-push-action@v6 is available and compatible with the current inputs.

v6 introduces new features including multi-platform build support (new inputs: multiPlatform, platform), SSH agent forwarding, and build summary exports (can be disabled via DOCKER_BUILD_NO_SUMMARY environment variable). The existing inputs used in this workflow (context, file, platforms, push, tags, labels, cache-from, cache-to, build-args) remain compatible with no breaking changes.


187-192: Version bumps are compatible; no issues found.

The update from actions/upload-artifact@v4 to v6 and actions/download-artifact@v5 to v7 are confirmed as valid. Both v6 and v7 use the same v4+ artifact backend and are compatible with each other—the shared artifact name lfx-dist will work correctly between these versions. No breaking changes prevent the workflow from executing successfully.


286-290: actions/download-artifact@v7 is compatible with actions/upload-artifact@v6.

Both versions use the v4+ artifact backend, which standardized the format and protocol. All versions v4 and later are mutually compatible, so there are no cross-version compatibility concerns.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
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 | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

cat -n .github/workflows/lint-js.yml

Repository: langflow-ai/langflow

Length of output: 1608


🌐 Web query:

actions/setup-node v6 breaking changes requirements

💡 Result:

Key breaking changes / requirements in actions/setup-node v6

  • Automatic caching is now limited to npm: caching is automatically enabled only when package.json declares npm (either devEngines.packageManager or top-level packageManager = "npm"). Yarn and pnpm caching are disabled by default and must be enabled explicitly via the cache input. [1][2]

  • The deprecated always-auth input was removed — remove any uses of always-auth from your workflows. [1][2]

Sources:

  • actions/setup-node README (Breaking changes in V6). [1]
  • actions/setup-node v6 release notes. [2]

🌐 Web query:

actions/cache v5 runner version requirements

💡 Result:

Short answer: actions/cache@v5 requires Node.js 24 and a minimum GitHub Actions Runner version 2.327.1 (update any self-hosted runners before upgrading). [1][2]

Sources:

  • actions/cache README / release notes. [1]
  • v5 release notes. [2]

Fix cache-hit condition to reference the correct step output.

The version updates to actions/setup-node@v6 and actions/cache@v5 are valid and compatible with ubuntu-latest, which meets the minimum runner version requirement (v2.327.1).

However, line 48 has a critical logic error: steps.setup-node.outputs.cache-hit should be steps.npm-cache.outputs.cache-hit. The setup-node action does not output cache-hit; only the cache action does. This bug causes the npm install step to always run regardless of cache hit status.

Fix for line 48
        if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }}
🤖 Prompt for AI Agents
In @.github/workflows/lint-js.yml at line 30, The cache-hit condition is
referencing the wrong step output; replace any use of
steps.setup-node.outputs.cache-hit with the cache action's output
steps.npm-cache.outputs.cache-hit (e.g., update the npm install step's if:
condition to if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }}), ensuring
the workflow checks the cache action's output rather than setup-node.

@mendonk
Copy link
Collaborator

mendonk commented Jan 15, 2026

Thanks @pgoslatara - can you change the PR title from docs to chore please?
@Adam-Aghili please take a look when you have a chance, thank you

@pgoslatara pgoslatara changed the title docs: Update outdated GitHub Actions versions chore: Update outdated GitHub Actions versions Jan 16, 2026
@github-actions github-actions bot added ignore-for-release and removed documentation Improvements or additions to documentation labels Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Pull Request from an external contributor ignore-for-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants