From 36b6042e648b29e0fae197f92cc0a43807f4ec70 Mon Sep 17 00:00:00 2001 From: anson Date: Thu, 9 Oct 2025 03:36:01 +0100 Subject: [PATCH] fix: build before publishing in release workflow --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f29ce549..f8ef6c1e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,13 +84,15 @@ jobs: echo "📋 Not in pre-release mode" fi + - name: Build packages + run: pnpm run build + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: version: pnpm changeset version - # Build immediately before publishing so artifacts reflect the freshly bumped version - publish: pnpm build && pnpm changeset publish --access public + publish: pnpm changeset publish --access public commit: 'chore(release): version packages' title: 'chore(release): version packages' env: