Skip to content

Commit 1d62e36

Browse files
authored
Update npmpublish.yml
1 parent 0511b18 commit 1d62e36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Node.js Package
55

66
on:
77
release:
8-
types: [created]
8+
types: [published]
99

1010
jobs:
1111
build:
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v1
1616
with:
1717
node-version: 12
18-
- run: npm ci
18+
- run: npm install
1919
- run: npm test
2020

2121
publish-npm:
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: 12
2929
registry-url: https://registry.npmjs.org/
30-
- run: npm ci
30+
- run: npm install
3131
- run: npm publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)