Skip to content

Commit

Permalink
adds publish-package.yml workflow that will npm publish when a releas…
Browse files Browse the repository at this point in the history
…e is triggered
  • Loading branch information
moshmage committed May 26, 2021
1 parent 0bd4a34 commit ef22e5c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Package

on:
release:
types:
- created

jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 8
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit ef22e5c

Please sign in to comment.