Skip to content

Commit

Permalink
feat: avoids publishing if no changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
simonecorsi committed Oct 7, 2021
1 parent 7d85e99 commit 54c275b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
tag-prefix: ''

- name: NPM Publish
if: ${{ steps.changelog.outputs.skipped == 'false' }}
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.npm_token }}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 54c275b

Please sign in to comment.