Skip to content

Comments

Upgrade GitHub Actions for Node 24 compatibility#971

Merged
threepointone merged 1 commit intocloudflare:mainfrom
salmanmkc:upgrade-github-actions-node24
Feb 22, 2026
Merged

Upgrade GitHub Actions for Node 24 compatibility#971
threepointone merged 1 commit intocloudflare:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc
Copy link
Contributor

Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

Changes

Action Old Version(s) New Version Release Files
actions/cache v4 v5 Release nightly.yml, pullrequest.yml
actions/checkout v4 v6 Release bonk.yml, nightly.yml, pullrequest.yml, release.yml
actions/setup-node v4 v6 Release nightly.yml, pullrequest.yml, release.yml

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: March 4th, 2026
  • Action: Update to latest action versions that support Node 24

⚠️ Breaking Changes

  • actions/checkout (v4 → v6): Major version upgrade — review the release notes for breaking changes
  • actions/setup-node (v4 → v6): Major version upgrade — review the release notes for breaking changes
    • ⚠️ Input always-auth was removed — if your workflow uses it, the step may fail
  • actions/cache (v4 → v5): Major version upgrade — review the release notes for breaking changes

Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
@changeset-bot
Copy link

changeset-bot bot commented Feb 22, 2026

⚠️ No Changeset found

Latest commit: dae49e4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 22, 2026

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/agents@971
npm i https://pkg.pr.new/cloudflare/agents/@cloudflare/ai-chat@971
npm i https://pkg.pr.new/cloudflare/agents/@cloudflare/codemode@971
npm i https://pkg.pr.new/cloudflare/agents/hono-agents@971

commit: dae49e4

@threepointone
Copy link
Contributor

thanks very much for this! I'll land it after our next release.

@threepointone
Copy link
Contributor

actually we'll try it for our next release, merging.

@threepointone threepointone merged commit 58a719b into cloudflare:main Feb 22, 2026
4 checks passed
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.

2 participants