Bump cloudflare/wrangler-action to v4#5
Merged
Conversation
v3 runs on the deprecated Node 20 runtime, which GitHub removes after June 16, 2026. v4 runs on Node 24 and keeps the same apiToken, accountId, and command inputs plus the deployment-url and pages-deployment-alias-url outputs this workflow relies on. The only behavioral change is the bundled Wrangler defaulting to v4, which does not affect the "pages deploy" invocation used here.
Cloudflare Pages previewDeployed this PR to a live preview: https://feature-bump-wrangler-action.learnvcorg.pages.dev This deploy: https://e02960cb.learnvcorg.pages.dev Updated for commit 954f667. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cloudflare/wrangler-action@v3runs on the Node 20 runtime, which GitHub deprecates and removes from runners after June 16, 2026. This bumps it to@v4, which runs on Node 24.Compatibility verified
Checked
action.ymlfor v4 — everything this workflow uses is unchanged:using: node24(resolves the deprecation)apiToken,accountId,command— unchangeddeployment-urlandpages-deployment-alias-url— both still present (used for the PR preview comment)The only behavioral change in v4 is that the bundled Wrangler defaults to v4. Our
pages deployinvocation uses stable syntax that is unaffected.Testing
This PR exercises the workflow itself: the v4 action deploys the preview and posts the URL comment below. A successful deploy + comment on this PR confirms the upgrade works.
🤖 Generated with Claude Code