Skip to content

Commit 47e97fa

Browse files
committed
chore: update release workflow to build packages before publishing
1 parent 288e64e commit 47e97fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@ jobs:
8484
echo "📋 Not in pre-release mode"
8585
fi
8686
87+
- name: Build packages
88+
run: pnpm run build
89+
8790
- name: Create Release Pull Request or Publish to npm
8891
id: changesets
8992
uses: changesets/action@v1
9093
with:
9194
version: pnpm changeset version
92-
# Build immediately before publishing so artifacts reflect the freshly bumped version
93-
publish: pnpm build && pnpm changeset publish --access public
95+
publish: pnpm changeset publish --access public
9496
commit: 'chore(release): version packages'
9597
title: 'chore(release): version packages'
9698
env:

0 commit comments

Comments
 (0)