Skip to content

Commit ca65621

Browse files
committed
Update NPM in the publish script
1 parent 088c462 commit ca65621

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
types: [published]
55

66
workflow_dispatch:
7-
7+
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
@@ -20,6 +20,7 @@ jobs:
2020

2121
- name: Build library
2222
run: yarn build
23-
23+
- name: Update NPM to the latest version
24+
run: npm install -g npm@latest
2425
- name: Publish to NPM
2526
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)