diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9362df..913c393 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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}}