Skip to content

Commit

Permalink
Publish new releases to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmyersdev committed Mar 30, 2021
1 parent e7812f0 commit eb114b5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish NPM Package

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 comments on commit eb114b5

Please sign in to comment.