Skip to content

Commit 7ba079f

Browse files
authored
Avoid npm@12 while sigstore bug persists (#4169)
Issue: npm/cli#9722
1 parent c1f7d60 commit 7ba079f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish_next_compute-baseline.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ jobs:
5151
# A two-step install is required to work around a bad `npm` version that
5252
# comes bundled with Node 22.22.
5353
# See https://github.com/npm/cli/issues/9151#issuecomment-4129185112
54+
# And we can't yet use npm@12 due to a bug:
55+
# See https://github.com/npm/cli/issues/9722
5456
- run: |
5557
npm install -g 'npm@10'
56-
npm install -g 'npm@>=11.5.1' # required for trusted publishing
58+
npm install -g 'npm@^11.5.1' # required for trusted publishing
5759
5860
- run: npm ci
5961
- name: Get package.json version

.github/workflows/publish_next_web-features.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ jobs:
5959
# A two-step install is required to work around a bad `npm` version that
6060
# comes bundled with Node 22.22.
6161
# See https://github.com/npm/cli/issues/9151#issuecomment-4129185112
62+
# And we can't yet use npm@12 due to a bug:
63+
# See https://github.com/npm/cli/issues/9722
6264
- run: |
6365
npm install -g 'npm@10'
64-
npm install -g 'npm@>=11.5.1' # required for trusted publishing
66+
npm install -g 'npm@^11.5.1' # required for trusted publishing
6567
- run: npm ci
6668

6769
- run: npm run build

0 commit comments

Comments
 (0)