Skip to content

Commit

Permalink
Merge pull request #5 from jakubrekowski/ci/no-ref/npm-publish
Browse files Browse the repository at this point in the history
ci: changed npm publish condition on release
  • Loading branch information
jakubrekowski authored Oct 20, 2024
2 parents 608c9a5 + e953e1e commit c31eec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
package-name: interpol.ts
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to npm
if: steps.release.outcome == 'success' && steps.release.outputs.release_created == 'true'
if: ${{ steps.release.outcome == 'success' && steps.release.outputs.release_created == 'true' }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c31eec3

Please sign in to comment.