Skip to content

Commit 667d933

Browse files
committed
feat(ci): add npm@latest for trusted publishing support
1 parent 4625297 commit 667d933

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish-socketbin.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ jobs:
223223
with:
224224
version: ^10.20.0
225225

226+
- name: Install latest npm
227+
run: npm install -g npm@latest
228+
226229
- name: Install dependencies
227230
run: pnpm install --frozen-lockfile
228231

@@ -399,6 +402,9 @@ jobs:
399402
with:
400403
version: ^10.20.0
401404

405+
- name: Install latest npm
406+
run: npm install -g npm@latest
407+
402408
- name: Install dependencies
403409
run: pnpm install --frozen-lockfile
404410

0 commit comments

Comments
 (0)