Skip to content

Commit 2ae3716

Browse files
committed
CI: build storybook
1 parent c5ef996 commit 2ae3716

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.circleci/config.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ running_yarn_build: &running_yarn_build
5454
yarn install
5555
yarn build
5656
57+
running_yarn_sb_build: &running_yarn_sb_build
58+
name: Running Yarn Storybook Build
59+
command: |
60+
source buildenvvar
61+
yarn sb:build
62+
5763
running_yarn_test: &running_yarn_test
5864
name: Running Yarn Test Build
5965
command: |
@@ -91,6 +97,7 @@ build_steps: &build_steps
9197
- run: *install_deploysuite
9298
- run: *build_configuration_fetch
9399
- run: *running_yarn_build
100+
- run: *running_yarn_sb_build
94101
- persist_to_workspace: *workspace_persist
95102

96103
test_steps: &test_steps
@@ -144,7 +151,7 @@ jobs:
144151
# LOGICAL_ENV: "prod"
145152
# APPNAME: "platform-ui-mvp"
146153
# steps: *lint_steps
147-
154+
148155
build-dev:
149156
<<: *defaults
150157
environment:
@@ -168,7 +175,7 @@ jobs:
168175
LOGICAL_ENV: "prod"
169176
APPNAME: "platform-ui-mvp"
170177
steps: *build_steps
171-
178+
172179
test-dev:
173180
<<: *test_defaults
174181
environment:
@@ -251,7 +258,7 @@ workflows:
251258
context : org-global
252259
requires:
253260
- build-dev
254-
filters:
261+
filters:
255262
branches:
256263
only:
257264
- dev
@@ -260,7 +267,7 @@ workflows:
260267
context : org-global
261268
requires:
262269
- build-qa
263-
filters:
270+
filters:
264271
branches:
265272
only:
266273
- qa
@@ -276,4 +283,4 @@ workflows:
276283
- master
277284

278285
- test-dev:
279-
context : org-global
286+
context : org-global

0 commit comments

Comments
 (0)