Fix Cloudflare Pages workflow Node runtime for Wrangler v4#483
Merged
Conversation
Agent-Logs-Url: https://github.com/sebdanielsson/sebdanielsson.dev/sessions/01e51fe9-4321-40e2-932a-e2e797369be1 Co-authored-by: sebdanielsson <20663065+sebdanielsson@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Cloudflare Pages workflow to fix Node.js setup
Fix Cloudflare Pages workflow Node runtime for Wrangler v4
May 19, 2026
Owner
|
Run the formatting too @copilot |
There was a problem hiding this comment.
Pull request overview
Updates the Cloudflare Pages GitHub Actions workflow to ensure cloudflare/wrangler-action@v4 runs on a compatible Node.js runtime and to keep CI formatting checks non-mutating.
Changes:
- Add an explicit
actions/setup-node@v4step configuring Node.js24before running Wrangler. - Switch the formatting step from
format(write) toformat:check(check-only) and fix the step name typo. - Bump the Cloudflare deploy step from
cloudflare/wrangler-action@v3to@v4.
Agent-Logs-Url: https://github.com/sebdanielsson/sebdanielsson.dev/sessions/1ce64d37-c49e-4a2a-b615-958caad2f74f Co-authored-by: sebdanielsson <20663065+sebdanielsson@users.noreply.github.com>
Contributor
Author
Done — I ran the formatter and committed the resulting formatting update in |
sebdanielsson
approved these changes
May 19, 2026
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.
Cloudflare Pagesdeploys were failing becausecloudflare/wrangler-action@v4requires Node.js 22+, while the job was running on Node 20. This updates the workflow to pin a compatible runtime and keeps CI checks non-mutating.Workflow runtime compatibility
actions/setup-node@v4node-version: 24Cloudflare deploy step
cloudflare/wrangler-action@v4in the deploy step.CI formatting behavior
format→format:checkRun formt check→Run format check).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
backend.raycast.com/tmp/bun-node-0d9b296af/node node /home/REDACTED/work/sebdanielsson.dev/sebdanielsson.dev/node_modules/.bin/astro check(dns block)https://api.github.com/repos/sebdanielsson/hogwarts-docusaurus/tmp/bun-node-0d9b296af/node node /home/REDACTED/work/sebdanielsson.dev/sebdanielsson.dev/node_modules/.bin/astro check(http block)https://api.github.com/repos/sebdanielsson/infraREDACTED, pid is -1(http block)telemetry.astro.build/tmp/bun-node-0d9b296af/node node /home/REDACTED/work/sebdanielsson.dev/sebdanielsson.dev/node_modules/.bin/astro check(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.