Run tags publish only after changesets publish

This commit is contained in:
Lukasz Ostrowski 2023-02-27 18:09:36 +01:00
parent 5b7f3cf539
commit 5b5e6821be

View file

@ -43,4 +43,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Push tags - name: Push tags
if: steps.changesets.outputs.published == 'true'
run: npx changeset tag && git push --follow-tags run: npx changeset tag && git push --follow-tags