Skip to content

Commit

Permalink
Added npm publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
p-fedyukovich committed Oct 20, 2020
1 parent 9d46809 commit a316ea2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish

# Run this workflow every time a new commit pushed to your repository
on: push

jobs:
publish:
# Set the type of machine to run on
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v2

- name: Set node version
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit a316ea2

Please sign in to comment.