Skip to content

Commit

Permalink
ci: Use npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Jul 18, 2023
1 parent 5afaeea commit 6f1d0a1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ jobs:
node-version: 18
cache: npm
- run: npm ci
- id: publish
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.npm_token }}
ignore-scripts: false
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 6f1d0a1

Please sign in to comment.