Skip to content

Commit

Permalink
adds publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Anderson committed Jun 30, 2020
1 parent 177bbca commit aa5ef8c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.14.x'
registry-url: 'https://npm.pkg.github.com'
- run: yarn install
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aa5ef8c

Please sign in to comment.