Skip to content

Commit

Permalink
ci: only run canary when we are not in pre mode
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Dec 19, 2023
1 parent 6215332 commit e2c9b13
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 @@ -33,7 +33,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publishing canary releases to npm registry
if: steps.changesets.outputs.published != 'true'
if: ${{ steps.changesets.outputs.published != 'true' && hashFiles('.changeset/pre.json') == '' }}
run: |
yarn version:canary
yarn release:canary
Expand Down

0 comments on commit e2c9b13

Please sign in to comment.