Skip to content

Commit

Permalink
Create npmpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aonghus O Nia authored Mar 6, 2020
1 parent cda876d commit cb013fb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: push

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm install
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit cb013fb

Please sign in to comment.