Skip to content

Commit 0392a6b

Browse files
authored
Merge pull request #933 from LIT-Protocol/fix/release-build-separation
chore: update release workflow to build packages before publishing
2 parents 288e64e + 47e97fa commit 0392a6b

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)