Skip to content

Commit e5c3f1f

Browse files
committed
Opt cloudflare/wrangler-action into Node.js 24 early
cloudflare/wrangler-action@v3 still declares node20 as its runtime and Cloudflare has not yet released a node24-compatible version. Setting FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true on the publish-docs jobs opts in to the Node.js 24 runtime now, which suppresses the deprecation warning and avoids a surprise breakage when GitHub enforces node24 by default on June 2, 2026. Assisted-by: Claude Code:claude-sonnet-4-6
1 parent 8060fc6 commit e5c3f1f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,8 @@ jobs:
486486
pages: write
487487
deployments: write
488488
statuses: write
489+
env:
490+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
489491
environment:
490492
name: github-pages
491493
url: ${{ steps.deployment.outputs.page_url }}

.github/workflows/publish-pr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ jobs:
263263
runs-on: ubuntu-latest
264264
permissions:
265265
contents: read
266+
env:
267+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
266268
outputs:
267269
deployment_url: ${{ steps.wrangler.outputs.deployment-url }}
268270
steps:

0 commit comments

Comments
 (0)