add back public storybook site build step (#12746)

this adds back building and publishing of storybook website.
This commit is contained in:
Gabriel Hernandez 2023-07-13 17:44:41 +01:00 committed by GitHub
parent 666ae8d787
commit f9bbd47381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -58,6 +58,9 @@ jobs:
with:
go-version: 1.19
# Download top-level dependencies and build Storybook in the website's assets/ folder
- run: npm install && npm run build-storybook -- -o ./website/assets/storybook --loglevel verbose
# Now start building!
# > …but first, get a little crazy for a sec and delete the top-level package.json file
# > i.e. the one used by the Fleet server. This is because require() in node will go

View file

@ -1,3 +1,3 @@
assets/dependencies/**/*.js
views/**/*.ejs
assets/storybook/*