Skip to content

Commit 498348f

Browse files
authored
chore: build before stage publish (#100)
1 parent 7065b9a commit 498348f

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/chromatic.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Install dependencies
3535
run: pnpm install
3636

37+
- name: Build Packages
38+
run: pnpm build
39+
3740
- name: Build Storybook
3841
run: pnpm run build-storybook
3942

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@ jobs:
3333
- name: Install Dependencies
3434
run: pnpm i
3535

36+
- name: Build Packages
37+
run: pnpm build
38+
3639
- name: Publish
3740
run: pnpm stage publish --no-git-checks

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"dev": "pnpm run storybook",
8282
"build-storybook": "storybook build",
8383
"storybook": "storybook dev -p 6006",
84-
"prepare": "rslib && simple-git-hooks",
84+
"prepare": "simple-git-hooks",
8585
"build": "rslib",
8686
"build:watch": "rslib -w",
8787
"test": "rstest",

0 commit comments

Comments
 (0)