Skip to content

Commit

Permalink
update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Malcador committed Nov 10, 2020
1 parent 94390ad commit 02798c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish package
on:
release:
types: [published]
types: [created]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -13,6 +13,7 @@ jobs:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: tsc
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 02798c3

Please sign in to comment.