Skip to content

Commit

Permalink
Add build step to snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
juangm committed Nov 28, 2024
1 parent 0e50429 commit 62af585
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
id: check_changeset
run: echo "changeset_exists=$(grep -q 'No unreleased changesets found' <<< '${{ steps.create_snapshot.outputs.stdout }}' && echo false || echo true)" >> $GITHUB_ENV

- name: Build
if: env.changeset_exists == 'true'
run: pnpm build

- name: Publish Snapshot
if: env.changeset_exists == 'true'
run: pnpm changeset publish --snapshot --tag canary --no-git-tag

0 comments on commit 62af585

Please sign in to comment.