Skip to content

Commit a212c50

Browse files
authored
Update npm version to the latest when publishing
1 parent 80a0cbc commit a212c50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ jobs:
3131
with:
3232
node-version: 20
3333
registry-url: https://registry.npmjs.org/
34+
- name: Update npm
35+
run: npm install -g npm@latest
3436
- run: npm publish

0 commit comments

Comments
 (0)