Skip to content

Commit aa97bc1

Browse files
committed
chore: ci workflow
1 parent becb19b commit aa97bc1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/npm_release.yml

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

0 commit comments

Comments
 (0)