move build-storybook step (#8492)

This commit is contained in:
Eric 2022-10-31 09:19:20 -05:00 committed by GitHub
parent 96014148a8
commit 149a908b82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
# Build storybook in the website's assets/ folder
- run: 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
@ -67,9 +70,6 @@ jobs:
# > script here. For more info, see: https://github.com/fleetdm/fleet/pull/5549
- run: rm -f .gitignore
# build storybook in the website's assets/ folder
- run: npm run build-storybook -- -o ./website/assets/storybook --loglevel verbose
# Download dependencies (including dev deps)
- run: cd website/ && npm install