Skip to content

Commit 7c7df38

Browse files
committed
Set storybook build command in yml
1 parent 37c36d5 commit 7c7df38

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ jobs:
4242
pnpm lint
4343
pnpm test
4444
- name: Build Landing
45-
run: pnpm -F landing build
45+
run: |
46+
pnpm -F landing build
47+
pnpm -F components build-storybook
48+
mv -r ./packages/components/storybook-static ./apps/landing/public/storybook
4649
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4750
- name: Upload artifact
4851
uses: actions/upload-pages-artifact@v3

apps/landing/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public/search.json
1212
!.yarn/releases
1313
!.yarn/versions
1414

15+
public/storybook
16+
1517
# testing
1618
/coverage
1719

0 commit comments

Comments
 (0)