Skip to content

Commit 4c0e4d9

Browse files
committed
downgrade Node on Windows
1 parent 6da53c5 commit 4c0e4d9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/actions/setup-toolchain/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ inputs:
1313
java-version:
1414
description: Desired Java version
1515
default: "17"
16+
node-version:
17+
description: Desired Node version
18+
default: "22"
1619
xcode-developer-dir:
1720
description: Set the path for the active Xcode developer directory
1821
runs:
@@ -72,7 +75,7 @@ runs:
7275
- name: Set up Node.js
7376
uses: actions/[email protected]
7477
with:
75-
node-version: "22"
78+
node-version: ${{ inputs.node-version }}
7679
cache: ${{ inputs.cache-npm-dependencies }}
7780
- name: Set up Xcode
7881
if: ${{ inputs.xcode-developer-dir != '' }}

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ jobs:
550550
uses: ./.github/actions/setup-toolchain
551551
with:
552552
platform: windows
553+
node-version: "22.13"
553554
- name: Set up react-native@canary
554555
if: ${{ github.event_name == 'schedule' }}
555556
uses: ./.github/actions/setup-react-native
@@ -606,6 +607,7 @@ jobs:
606607
uses: ./.github/actions/setup-toolchain
607608
with:
608609
platform: windows
610+
node-version: "22.13"
609611
- name: Initialize test app
610612
uses: ./.github/actions/init-test-app
611613
with:

0 commit comments

Comments
 (0)