Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,18 @@ jobs:
publish: pnpm changeset publish
version: pnpm changeset:version-and-format
commit: 'ci(changesets): version packages'
commitMode: 'github-api'
env:
GITHUB_TOKEN: ${{ steps.generate_github_token.outputs.token }}

# Publish canary releases only if the packages weren't published already
- name: Publishing canary releases to npm registry
if: steps.changesets.outputs.published != 'true'
run: |
git checkout main
set -euo pipefail
git fetch origin main
git reset --hard origin/main
git clean -fd
pnpm changeset version --snapshot canary
pnpm changeset publish --tag canary
env:
Expand Down
Loading