Skip to content

Commit

Permalink
Speed up Chromatic builds
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Dec 21, 2023
1 parent 43f357b commit b45398d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: npm run build

- name: Build Storybook
run: npm run docs:build
run: npm run chromatic-build

- name: Publish to Chromatic
uses: chromaui/action@v1
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"docs": "npm run docs:start",
"docs:start": "storybook dev -p 6006",
"docs:build": "storybook build -c .storybook -o public && cp -R ./packages/icons/web ./public/icons",
"chromatic-build": "storybook build -c .storybook -o public --test",
"vercel-build": "npm run copy-docs && npm run build && npm run docs:build",
"check:security": "audit-ci --critical",
"check:licenses": "license-checker --production --summary --failOn=GPLv3",
Expand Down

0 comments on commit b45398d

Please sign in to comment.