Skip to content

Commit 26fed43

Browse files
committed
chore: ci workflow with corepack
1 parent 18bed22 commit 26fed43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish_npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
registry-url: 'https://registry.npmjs.org'
2222
- name: Update npm (required for OIDC trusted publishing)
2323
run: |
24-
npm install -g npm@^11.5.1
24+
corepack enable
25+
corepack prepare npm@11.5.1 --activate
2526
npm --version
2627
- name: Setup
2728
run: npm install

0 commit comments

Comments
 (0)