Skip to content

Commit 54fec08

Browse files
committed
fix npm install error
1 parent f7d14ce commit 54fec08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
cache: "pnpm"
4040

4141
- name: Update npm for OIDC support
42-
run: npm install -g npm@latest # Needs 11.5.1+ for npm trusted publishing
42+
run: corepack enable npm && corepack install -g npm@latest
4343

4444
- name: Install dependencies
4545
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)