Skip to content

Commit

Permalink
ci: changed npm publish condition on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubrekowski committed Oct 20, 2024
1 parent 608c9a5 commit e953e1e
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 e953e1e

Please sign in to comment.