Skip to content

Commit 0388ec6

Browse files
fix(storybook): add ci build workflow (#16760)
1 parent 366b8a8 commit 0388ec6

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/storybook.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: storybook
2+
3+
on:
4+
push:
5+
branches: [dev]
6+
paths:
7+
- ".github/workflows/storybook.yml"
8+
- "package.json"
9+
- "bun.lock"
10+
- "packages/storybook/**"
11+
- "packages/ui/**"
12+
pull_request:
13+
branches: [dev]
14+
paths:
15+
- ".github/workflows/storybook.yml"
16+
- "package.json"
17+
- "bun.lock"
18+
- "packages/storybook/**"
19+
- "packages/ui/**"
20+
workflow_dispatch:
21+
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: true
25+
26+
jobs:
27+
build:
28+
name: storybook build
29+
runs-on: blacksmith-4vcpu-ubuntu-2404
30+
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
34+
- name: Setup Bun
35+
uses: ./.github/actions/setup-bun
36+
37+
- name: Build Storybook
38+
run: bun --cwd packages/storybook build

0 commit comments

Comments
 (0)