Skip to content

Commit

Permalink
ci: only push to npm when there's a version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Jul 15, 2023
1 parent a8e46c0 commit bb1ef66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
output-file: "CHANGELOG.md"

- name: Publish to NPM
# if: ${{ steps.changelog.outputs.skipped == 'false' }}
if: ${{ steps.changelog.outputs.skipped == 'false' }}
run: npm publish
env:
# `gh secret set NPM_TOKEN --app actions --body $NPM_TOKEN`
Expand Down

0 comments on commit bb1ef66

Please sign in to comment.