Skip to content

Commit

Permalink
ci: fix chromatic by extracting sitemap script (#5556)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNotheis committed Feb 29, 2024
1 parent 6a8f333 commit d82b44b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docs-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
CYPRESS_INSTALL_BINARY: 0

- name: Build Storybook
run: yarn build:storybook
run: |
yarn build:storybook
yarn build:storybook-sitemap
env:
NODE_OPTIONS: '--max-old-space-size=4096'

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"start:storybook": "storybook dev -p 6006",
"setup": "lerna run build:i18n && lerna run build:css && lerna run build:css-bundle && rimraf node_modules/@types/mocha",
"build": "yarn setup && tsc --build && lerna run build:client && lerna run build:wrapper && lerna run build:ssr",
"build:storybook": "lerna run build:i18n && yarn create-cypress-commands-docs && storybook build -o .out && node ./scripts/create-storybook-sitemap.js --directory .out",
"build:storybook": "lerna run build:i18n && yarn create-cypress-commands-docs && storybook build -o .out",
"build:storybook-sitemap": "node ./scripts/create-storybook-sitemap.js --directory .out",
"test:prepare": "rimraf temp && lerna run build",
"test:cypress": "cypress run --component --browser chrome",
"test:cypress:open": "CYPRESS_COVERAGE=false cypress open --component --browser chrome",
Expand Down

0 comments on commit d82b44b

Please sign in to comment.