Skip to content

Commit e6f178a

Browse files
committed
changes to workflow
1 parent dbbac2e commit e6f178a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/npm-publish.yml

Lines changed: 2 additions & 2 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:
@@ -28,6 +28,6 @@ jobs:
2828
node-version: 16
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm ci
31-
- run: npm publish
31+
- run: npm publish --tag ${{ github.event.release.tag_name }}
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)