Skip to content

Commit 292fd40

Browse files
committed
chore: ci workflow
[skip ci]
1 parent f62ab75 commit 292fd40

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/npm_release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,10 @@ jobs:
177177
path: dist
178178
- name: Update npm (required for OIDC trusted publishing)
179179
run: |
180-
npm install -g npm@^11.5.1
181-
npm --version
180+
corepack enable npm
181+
corepack install -g npm@11.5.1
182+
test "$(npm --version)" = "11.5.1"
183+
test "$(npx --version)" = "11.5.1"
182184
- name: Publish package (OIDC trusted publishing)
183185
if: ${{ vars.USE_NPM_TOKEN != 'true' }}
184186
run: |

0 commit comments

Comments
 (0)