Skip to content

Commit e8a29ba

Browse files
authored
Merge pull request #1588 from plone/reenable-storybook
Re-enable storybook
2 parents ffb8bbe + 7a769c1 commit e8a29ba

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/build_deploy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ jobs:
6262
restore-keys: |
6363
${{ runner.os }}-pnpm-store-
6464
65-
# - name: StoryBook build
66-
# working-directory: submodules/volto
67-
# run: |
68-
# pnpm i
69-
# make storybook-build
65+
- name: StoryBook build
66+
working-directory: submodules/volto
67+
run: |
68+
pnpm i
69+
pnpm build:registry
70+
make storybook-build
7071
7172
- name: Deploy to server
7273
id: deploy

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ netlify:
239239

240240
.PHONY: storybook
241241
storybook:
242-
cd submodules/volto && yarn && yarn build-storybook -o ../../_build/html/storybook
242+
cd submodules/volto && pnpm i && pnpm build:registry && pnpm --filter @plone/volto build-storybook -o ../../../../_build/html/storybook
243243

244244
.PHONY: all
245245
all: clean vale linkcheck html ## Clean docs build, then run vale and linkcheck, and build html

0 commit comments

Comments
 (0)