Skip to content

Commit 2185d23

Browse files
committed
ci: move workflow runtimes to Node 24
Upgrade the remaining Node 20 workflow runtime pins and force JavaScript actions onto Node 24 so GitHub Actions no longer emits deprecated Node 20 warnings. Made-with: Cursor
1 parent 2236a68 commit 2185d23

File tree

7 files changed

+24
-6
lines changed

7 files changed

+24
-6
lines changed

.github/reusable_workflows/pulumi_up/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ inputs:
3535
required: false
3636

3737
node-version:
38-
description: 'Node.js major used for infra commands (align with infra/README.md Tool versions)'
38+
description: 'Node.js major used for the workflow runtime while running infra commands'
3939
required: false
40-
default: '20'
40+
default: '24'
4141

4242
pulumi-version:
4343
description: 'Pulumi CLI version (pin to infra/README.md Tool versions)'

.github/workflows/_reusable-pulumi-deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ on:
5959
type: string
6060
default: ''
6161

62+
env:
63+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
64+
6265
jobs:
6366
dev_prepare:
6467
name: Dev — BOM + platform image tag
@@ -84,7 +87,7 @@ jobs:
8487
- name: Set up Node.js (Pulumi CLI for platform config)
8588
uses: actions/setup-node@v6
8689
with:
87-
node-version: '20'
90+
node-version: '24'
8891

8992
- name: Install Pulumi CLI
9093
shell: bash
@@ -283,7 +286,7 @@ jobs:
283286
- name: Set up Node.js
284287
uses: actions/setup-node@v6
285288
with:
286-
node-version: '20'
289+
node-version: '24'
287290
cache: npm
288291
cache-dependency-path: |
289292
infra/layer_1/package-lock.json

.github/workflows/canary-staging.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ on:
6060
permissions:
6161
contents: read
6262

63+
env:
64+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
65+
6366
jobs:
6467
canary:
6568
runs-on: ubuntu-latest

.github/workflows/infra-foundation-preview.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Repository variable (Settings → Secrets and variables → Actions → Variables), optional:
1010
# PULUMI_FOUNDATION_STACK — Pulumi stack name for dev/pre-prod foundation (defaults to dev-staging if unset).
1111
#
12-
# Node: 20.x is the repo-standard infra toolchain (see infra/README.md "Tool versions"; root .nvmrc stays 16 for legacy app builds).
12+
# Workflow runtime uses Node 24 on GitHub-hosted runners; the local infra toolchain remains documented in `infra/README.md`.
1313
#
1414
# This job does NOT use DOCKER_HOST, SSH to Swarm, or Tailscale — foundation talks only to the DigitalOcean API.
1515
#
@@ -29,6 +29,9 @@ concurrency:
2929
permissions:
3030
contents: read
3131

32+
env:
33+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
34+
3235
jobs:
3336
filter:
3437
if: github.event_name == 'pull_request'
@@ -78,7 +81,7 @@ jobs:
7881
- name: Set up Node.js
7982
uses: actions/setup-node@v6
8083
with:
81-
node-version: '20'
84+
node-version: '24'
8285
cache: npm
8386
cache-dependency-path: infra/foundation/package-lock.json
8487

.github/workflows/infra-pulumi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ permissions:
5050
contents: read
5151
pull-requests: write
5252

53+
env:
54+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
55+
5356
# Before production `pulumi up` on the platform/prod stack, Tier 1 harness runs against
5457
# hosted staging (lane `main-staging`). Configure GitHub environment `staging` with secret
5558
# `HARNESS_MAIN_STAGING_TIER1_ENV` (full multiline .env). See scripts/harness/README.md.

.github/workflows/on-changes.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ permissions:
2424
contents: read
2525
packages: write
2626

27+
env:
28+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
29+
2730
jobs:
2831
build_core_image:
2932
name: 'Build base docker image'

.github/workflows/verify-main-dev-tier0.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ concurrency:
1919

2020
permissions:
2121
contents: read
22+
23+
env:
24+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
2225
actions: write
2326

2427
jobs:

0 commit comments

Comments
 (0)