Skip to content

Commit c779a3a

Browse files
committed
fix: build storybook and package
1 parent 21f9b9a commit c779a3a

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/build-storybook.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Build Storybook
1+
name: Build Storybook and package
22

33
on:
44
push:
55

66
concurrency:
7-
group: build-storybook-${{ github.ref }}
7+
group: build-${{ github.ref }}
88
cancel-in-progress: true
99

1010
jobs:
@@ -28,10 +28,20 @@ jobs:
2828
- name: install
2929
run: pnpm install --frozen-lockfile
3030

31+
- name: build-package
32+
run: pnpm run build
33+
3134
- name: build-storybook
3235
run: pnpm run build-storybook
3336

34-
- name: upload-artifact
37+
- name: upload-dist
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: dist
41+
path: dist
42+
retention-days: 7
43+
44+
- name: upload-storybook
3545
uses: actions/upload-artifact@v4
3646
with:
3747
name: storybook-static

0 commit comments

Comments
 (0)