Skip to content

Commit

Permalink
fix(ci): added publish check
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam1337 authored Jan 24, 2022
1 parent 983be72 commit d37b075
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ jobs:
run: |
git tag $UPM_TAG upm
git push origin --tags
- uses: actions/setup-node@v2
- if: steps.semantic.outputs.new_release_published == 'true'
uses: actions/setup-node@v2
with:
registry-url: 'https://npm.iron-wall.org'
- run: npm publish
- if: steps.semantic.outputs.new_release_published == 'true'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit d37b075

Please sign in to comment.