Skip to content

Commit 598c2d6

Browse files
john-zhhclaude
andcommitted
ci: opt into Node.js 24 for all GitHub Actions workflows
Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true at workflow level to suppress Node.js 20 deprecation warnings. GitHub will enforce Node.js 24 as default from June 2, 2026. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 36a09b9 commit 598c2d6

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches: [main]
77

8+
env:
9+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
10+
811
jobs:
912
# Run tests in parallel
1013
unit-tests:

.github/workflows/e2e.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: E2E Tests
22

33
# Run E2E tests separately from main CI to avoid blocking PRs with flaky tests
44
# These tests may be unstable due to timing, process management, or runner environment
5+
env:
6+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
7+
58
on:
69
# Manual trigger
710
workflow_dispatch:

.github/workflows/pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
paths: ['website/**']
77
workflow_dispatch:
88

9+
env:
10+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
11+
912
permissions:
1013
pages: write
1114
id-token: write

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*'
77

8+
env:
9+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
10+
811
permissions:
912
contents: write
1013

0 commit comments

Comments
 (0)