Skip to content

Commit d840484

Browse files
committed
update
1 parent a2f1b1b commit d840484

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Package to npmjs
22

33
on:
44
release:
5-
types: [published]
5+
types: [ published ]
66
push:
77
branches: [ main ]
88
workflow_dispatch:
@@ -32,6 +32,7 @@ jobs:
3232
pv=$(jq -r .version package.json)
3333
rv=$(curl -s https://registry.npmjs.org/$(jq -r .name package.json) | jq -r '."dist-tags".latest')
3434
[ "$pv" = "$rv" ] && exit 0
35+
npm install
3536
npm ci
3637
npm run build
3738
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)