Generate dynamic storybook stories at build time
This commit is contained in:
3
.github/workflows/build-storybook.yml
vendored
3
.github/workflows/build-storybook.yml
vendored
@@ -20,6 +20,9 @@ jobs:
|
|||||||
run: | # Install npm packages and build the Storybook files
|
run: | # Install npm packages and build the Storybook files
|
||||||
cd web
|
cd web
|
||||||
npm install --include-dev --force
|
npm install --include-dev --force
|
||||||
|
cd .storybook/tools
|
||||||
|
./generate-stories.sh
|
||||||
|
cd -
|
||||||
npm run build-storybook -- -o ../docs/components
|
npm run build-storybook -- -o ../docs/components
|
||||||
|
|
||||||
- name: Dispatch event to web site
|
- name: Dispatch event to web site
|
||||||
|
|||||||
Reference in New Issue
Block a user