Skip to content

Commit b4da6ef

Browse files
authored
fix(sdk-ci): pin npm@11 for publish workflows (Node 20 runners) (#227)
1 parent d2104fe commit b4da6ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
registry-url: "https://registry.npmjs.org"
4949

5050
- name: Update npm
51-
run: npm install -g npm@latest
51+
run: npm install -g npm@11
5252

5353
- name: Install dependencies
5454
run: npm ci

.github/workflows/preview-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
registry-url: "https://registry.npmjs.org"
2424

2525
- name: Update npm
26-
run: npm install -g npm@latest
26+
run: npm install -g npm@11
2727

2828
- name: Install dependencies
2929
run: npm install

0 commit comments

Comments
 (0)