Skip to content

Commit

Permalink
Update npmpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nehle authored Apr 6, 2023
1 parent 65c949e commit 70bee1a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm test
- run: |
npm ci
npm test
publish-npm:
needs: build
Expand All @@ -23,8 +25,10 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm test
- run: npm publish
- run: |
npm ci
npm test
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand All @@ -38,7 +42,9 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@Nehle'
- run: npm test
- run: npm publish
- run: |
npm ci
npm test
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 70bee1a

Please sign in to comment.