Skip to content

Commit 8559de4

Browse files
committed
fix: update Node.js version to 20.19.0 in all workflows to resolve compatibility issues
1 parent 9942fa6 commit 8559de4

4 files changed

Lines changed: 18 additions & 17 deletions

File tree

.github/workflows/android-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
env:
14-
NODE_VERSION: 20.x
14+
NODE_VERSION: 20.19.0
1515
JAVA_VERSION: 17
1616

1717
steps:

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
platform: [ios, android]
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Setup Node.js
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: "18"
22+
node-version: "20.19.0"
2323
cache: "npm"
2424

2525
- name: Install dependencies
@@ -36,13 +36,14 @@ jobs:
3636
run: |
3737
cd ios
3838
pod install
39+
cd ..
3940
4041
- name: Setup Java (Android only)
4142
if: matrix.platform == 'android'
42-
uses: actions/setup-java@v3
43+
uses: actions/setup-java@v4
4344
with:
4445
distribution: "temurin"
45-
java-version: "11"
46+
java-version: "17"
4647
cache: "gradle"
4748

4849
- name: Setup Android SDK (Android only)

.github/workflows/ios-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: macos-latest
1212

1313
env:
14-
NODE_VERSION: 20.x
14+
NODE_VERSION: 20.19.0
1515

1616
steps:
1717
- name: Checkout code

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
16-
16+
1717
- name: Setup Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: '20'
20+
node-version: '20.19.0'
2121
cache: 'npm'
2222

2323
- name: Setup Java
@@ -52,14 +52,14 @@ jobs:
5252
steps:
5353
- name: Checkout code
5454
uses: actions/checkout@v4
55-
56-
- name: Setup Node.js
57-
uses: actions/setup-node@v4
58-
with:
59-
node-version: '20'
60-
cache: 'npm'
61-
62-
- name: Install dependencies
55+
56+
- name: Setup Node.js
57+
uses: actions/setup-node@v4
58+
with:
59+
node-version: '20.19.0'
60+
cache: 'npm'
61+
62+
- name: Install dependencies
6363
run: npm ci
6464

6565
- name: Install iOS pods

0 commit comments

Comments
 (0)