diff --git a/.github/workflows/deploy-fleet-website.yml b/.github/workflows/deploy-fleet-website.yml index 0b5e657a0f..434971e9b6 100644 --- a/.github/workflows/deploy-fleet-website.yml +++ b/.github/workflows/deploy-fleet-website.yml @@ -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 diff --git a/website/.eslintignore b/website/.eslintignore index f190c2ae4f..eda7786697 100644 --- a/website/.eslintignore +++ b/website/.eslintignore @@ -1,3 +1,3 @@ assets/dependencies/**/*.js views/**/*.ejs - +assets/storybook/*