From 6d5934413ac325a0b3ae1305960b482bc10ceb05 Mon Sep 17 00:00:00 2001 From: Derek Scruggs Date: Sat, 6 Jun 2026 17:32:44 -0500 Subject: [PATCH] Bump cloudflare/wrangler-action to v4. 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/workflows/preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index b7daed1..6a34050 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -63,7 +63,7 @@ jobs: - name: Deploy to Cloudflare Pages id: deploy if: steps.creds.outputs.ready == 'true' - uses: cloudflare/wrangler-action@v3 + uses: cloudflare/wrangler-action@v4 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}