Skip to content

Commit

Permalink
fix publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Blackburn committed Nov 26, 2019
1 parent 9985014 commit a2e1b01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm test

publish-npm:
Expand All @@ -23,6 +24,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm test
- run: npm publish
env:
Expand All @@ -38,6 +40,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@bluehatbrit'
- run: npm install
- run: npm test
- run: npm publish
env:
Expand Down

0 comments on commit a2e1b01

Please sign in to comment.