Skip to content

Commit 9f75330

Browse files
Chore/upgrade node 24 rn 79 (#14303)
1 parent a30a875 commit 9f75330

19 files changed

Lines changed: 3662 additions & 4259 deletions

File tree

.github/workflows/mobile.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
- production
2626

2727
env:
28-
NODE_VERSION: '22.21.1'
28+
NODE_VERSION: '24.10.0'
2929

3030
jobs:
3131
# Install dependencies and warm the node_modules cache shared by every downstream job.
@@ -44,6 +44,9 @@ jobs:
4444
cache: 'npm'
4545
cache-dependency-path: package-lock.json
4646

47+
- name: Upgrade npm to 11.10.0
48+
run: npm install -g npm@11.10.0
49+
4750
- name: Create concatenated patch file
4851
id: patch-file
4952
run: |
@@ -220,6 +223,9 @@ jobs:
220223
cache: 'npm'
221224
cache-dependency-path: package-lock.json
222225

226+
- name: Upgrade npm to 11.10.0
227+
run: npm install -g npm@11.10.0
228+
223229
- name: Create concatenated patch file
224230
id: patch-file
225231
run: |
@@ -331,6 +337,9 @@ jobs:
331337
cache: 'npm'
332338
cache-dependency-path: package-lock.json
333339

340+
- name: Upgrade npm to 11.10.0
341+
run: npm install -g npm@11.10.0
342+
334343
- name: Create concatenated patch file
335344
id: patch-file
336345
run: |
@@ -419,6 +428,9 @@ jobs:
419428
cache: 'npm'
420429
cache-dependency-path: package-lock.json
421430

431+
- name: Upgrade npm to 11.10.0
432+
run: npm install -g npm@11.10.0
433+
422434
- name: Create concatenated patch file
423435
id: patch-file
424436
run: |
@@ -585,6 +597,9 @@ jobs:
585597
cache: 'npm'
586598
cache-dependency-path: package-lock.json
587599

600+
- name: Upgrade npm to 11.10.0
601+
run: npm install -g npm@11.10.0
602+
588603
- name: Setup Java
589604
uses: actions/setup-java@v4
590605
with:
@@ -804,6 +819,9 @@ jobs:
804819
cache: 'npm'
805820
cache-dependency-path: package-lock.json
806821

822+
- name: Upgrade npm to 11.10.0
823+
run: npm install -g npm@11.10.0
824+
807825
- name: Create concatenated patch file
808826
id: patch-file
809827
run: |
@@ -957,6 +975,9 @@ jobs:
957975
cache: 'npm'
958976
cache-dependency-path: package-lock.json
959977

978+
- name: Upgrade npm to 11.10.0
979+
run: npm install -g npm@11.10.0
980+
960981
- name: Setup Java
961982
uses: actions/setup-java@v4
962983
with:

.github/workflows/publish-packages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
concurrency: ${{ github.workflow }}-${{ github.ref }}
1515

1616
env:
17-
NODE_VERSION: "22.21.1"
17+
NODE_VERSION: "24.10.0"
1818

1919
jobs:
2020
changes:
@@ -56,7 +56,7 @@ jobs:
5656
- name: Setup Node
5757
uses: actions/setup-node@v4
5858
with:
59-
node-version: 22.21.1
59+
node-version: 24.10.0
6060
# registry-url for correct registry targeting, but do NOT use always-auth
6161
# (that's for token auth, not OIDC)
6262
registry-url: "https://registry.npmjs.org"
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
echo "Current npm version: $(npm --version)"
6767
# OIDC trusted publishing requires npm 11.5.1+
68-
npm install -g npm@latest
68+
npm install -g npm@11.10.0
6969
echo "Updated npm version: $(npm --version)"
7070
7171
- name: Create concatenated patch file

.github/workflows/sdk.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323
workflow_dispatch:
2424

2525
env:
26-
NODE_VERSION: '22.21.1'
26+
NODE_VERSION: '24.10.0'
2727

2828
jobs:
2929
sdk-ci:
@@ -40,6 +40,9 @@ jobs:
4040
cache: 'npm'
4141
cache-dependency-path: package-lock.json
4242

43+
- name: Upgrade npm to 11.10.0
44+
run: npm install -g npm@11.10.0
45+
4346
- name: Create concatenated patch file
4447
id: patch-file
4548
run: |

.github/workflows/web.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
workflow_dispatch:
2727

2828
env:
29-
NODE_VERSION: '22.21.1'
29+
NODE_VERSION: '24.10.0'
3030

3131
jobs:
3232
web-init:
@@ -43,6 +43,9 @@ jobs:
4343
cache: 'npm'
4444
cache-dependency-path: package-lock.json
4545

46+
- name: Upgrade npm to 11.10.0
47+
run: npm install -g npm@11.10.0
48+
4649
- name: Create concatenated patch file
4750
id: patch-file
4851
run: |
@@ -99,6 +102,9 @@ jobs:
99102
cache: 'npm'
100103
cache-dependency-path: package-lock.json
101104

105+
- name: Upgrade npm to 11.10.0
106+
run: npm install -g npm@11.10.0
107+
102108
- name: Create concatenated patch file
103109
id: patch-file
104110
run: |
@@ -159,6 +165,9 @@ jobs:
159165
cache: 'npm'
160166
cache-dependency-path: package-lock.json
161167

168+
- name: Upgrade npm to 11.10.0
169+
run: npm install -g npm@11.10.0
170+
162171
- name: Create concatenated patch file
163172
id: patch-file
164173
run: |
@@ -216,6 +225,9 @@ jobs:
216225
cache: 'npm'
217226
cache-dependency-path: package-lock.json
218227

228+
- name: Upgrade npm to 11.10.0
229+
run: npm install -g npm@11.10.0
230+
219231
- name: Create concatenated patch file
220232
id: patch-file
221233
run: |
@@ -288,6 +300,9 @@ jobs:
288300
cache: 'npm'
289301
cache-dependency-path: package-lock.json
290302

303+
- name: Upgrade npm to 11.10.0
304+
run: npm install -g npm@11.10.0
305+
291306
- name: Create concatenated patch file
292307
id: patch-file
293308
run: |
@@ -379,6 +394,9 @@ jobs:
379394
cache: 'npm'
380395
cache-dependency-path: package-lock.json
381396

397+
- name: Upgrade npm to 11.10.0
398+
run: npm install -g npm@11.10.0
399+
382400
- name: Create concatenated patch file
383401
id: patch-file
384402
run: |
@@ -547,6 +565,9 @@ jobs:
547565
cache: 'npm'
548566
cache-dependency-path: package-lock.json
549567

568+
- name: Upgrade npm to 11.10.0
569+
run: npm install -g npm@11.10.0
570+
550571
- name: Create concatenated patch file
551572
id: patch-file
552573
run: |
@@ -622,6 +643,9 @@ jobs:
622643
with:
623644
node-version: ${{ env.NODE_VERSION }}
624645

646+
- name: Upgrade npm to 11.10.0
647+
run: npm install -g npm@11.10.0
648+
625649
- name: Create concatenated patch file
626650
id: patch-file
627651
run: |
@@ -738,6 +762,9 @@ jobs:
738762
with:
739763
node-version: ${{ env.NODE_VERSION }}
740764

765+
- name: Upgrade npm to 11.10.0
766+
run: npm install -g npm@11.10.0
767+
741768
- name: Create concatenated patch file
742769
id: patch-file
743770
run: |

.npmrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# TODO: Remove legacy-peer-deps when all peerDependency conflicts
22
# have been resolved in the dependency tree
33
legacy-peer-deps=true
4+
engine-strict=true
45

56
# ECONNRESET on npm i
67
# possible fix: https://stackoverflow.com/a/61378723
78
# timeout=60000 # Removed: causes ERR_INVALID_ARG_TYPE with Node 22+
8-
prefer-offline=true
9+
prefer-offline=true
10+
11+
# Supply-chain: only install package versions that were published at least
12+
# 7 days ago. Added in npm via https://github.com/npm/cli/pull/8965.
13+
min-release-age=7

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.21.1
1+
v24.10.0

0 commit comments

Comments
 (0)