From 62af585de72c77bd6945048df660c8fdce3f7e72 Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Thu, 28 Nov 2024 10:13:05 +0100 Subject: [PATCH] Add build step to snapshot --- .github/workflows/snapshot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 2b57dc0f2..9d1733c07 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -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