Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59d1a5f

Browse files
authored
Merge pull request #529 from happy5214/install-new-npm
Install current version of npm in publish script
2 parents 2016271 + f5efe0e commit 59d1a5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ jobs:
1616
with:
1717
node-version: 'lts/*'
1818
registry-url: 'https://registry.npmjs.org'
19+
- name: Update npm
20+
run: npm install -g npm@latest
1921
- run: npm ci
2022
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)