Skip to content

Bump cloudflare/wrangler-action to v4#5

Merged
djscruggs merged 1 commit into
mainfrom
feature/bump-wrangler-action-v4
Jun 6, 2026
Merged

Bump cloudflare/wrangler-action to v4#5
djscruggs merged 1 commit into
mainfrom
feature/bump-wrangler-action-v4

Conversation

@djscruggs

Copy link
Copy Markdown
Collaborator

Summary

cloudflare/wrangler-action@v3 runs 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.yml for v4 — everything this workflow uses is unchanged:

  • Runtime: using: node24 (resolves the deprecation)
  • Inputs: apiToken, accountId, command — unchanged
  • Outputs: deployment-url and pages-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 deploy invocation 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

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.
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Cloudflare Pages preview

Deployed 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.

@djscruggs djscruggs merged commit 4353664 into main Jun 6, 2026
1 check passed
@djscruggs djscruggs deleted the feature/bump-wrangler-action-v4 branch June 8, 2026 21:22
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.

1 participant