Skip to content

Commit

Permalink
Update publish-npm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
neolao authored Aug 13, 2019
1 parent aaba796 commit e048a5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Publish to NPM

on: release

jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -12,6 +15,8 @@ jobs:
- run: npm test

publish:
name: Publish to NPM
if: github.event_name == "published"
needs: test
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e048a5d

Please # to comment.