Skip to content

Commit 5517614

Browse files
committed
fix(ci): align lockfile with npm 10 and bump React for Clerk peers
- Regenerate package-lock.json with npm 10.9.2 so GitHub Actions npm ci passes on Node 18/20 - Bump react and react-dom to 19.2.4 (within @clerk/expo peer range) - Pin npm@10.9.2 before npm ci in CI, Pages, desktop, EAS, and Android release workflows - Add engines.node/npm to document supported toolchain Made-with: Cursor
1 parent ffce538 commit 5517614

7 files changed

Lines changed: 129 additions & 67 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
node-version: ${{ matrix.node-version }}
2424
cache: 'npm'
2525

26+
# Lockfile is generated with npm 10; default npm on Node 18/20 rejects it under npm 11 rules.
27+
- name: Use npm 10 for npm ci
28+
run: npm install -g npm@10.9.2
29+
2630
- name: 📦 Install dependencies
2731
run: npm ci
2832

.github/workflows/deploy-pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
node-version: 20
5757
cache: npm
5858

59+
- name: Use npm 10 for npm ci
60+
run: npm install -g npm@10.9.2
61+
5962
- name: Install dependencies
6063
run: npm ci
6164

.github/workflows/desktop-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
package-lock.json
2626
desktop/package-lock.json
2727
28+
- name: Use npm 10 for npm ci
29+
run: npm install -g npm@10.9.2
30+
2831
- name: Install root dependencies
2932
run: npm ci
3033

.github/workflows/eas-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
node-version: '20.x'
3636
cache: 'npm'
3737

38+
- name: Use npm 10 for npm ci
39+
run: npm install -g npm@10.9.2
40+
3841
- name: 📦 Install dependencies
3942
run: npm ci
4043

.github/workflows/release-android.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
node-version: "20.x"
3737
cache: npm
3838

39+
- name: Use npm 10 for npm ci
40+
run: npm install -g npm@10.9.2
41+
3942
- name: Install dependencies
4043
run: npm ci
4144

0 commit comments

Comments
 (0)