Skip to content

Commit

Permalink
Merge pull request #2 from ableco/feature-publish-npm
Browse files Browse the repository at this point in the history
Publish package to npm
  • Loading branch information
hector-able authored Oct 4, 2019
2 parents deeb1cb + ffbee4b commit f8f1ed7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to npm
on:
release:
types: [published]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
scope: ableco
- run: |
npm install
npm publish --@ableco:registry=https://registry.npmjs.org/ --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit f8f1ed7

Please sign in to comment.