Skip to content

Commit

Permalink
Allow chromatic to build storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Jan 25, 2024
1 parent 5b444a4 commit edc14b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@ jobs:
with:
fetch-depth: 0

# requires node16, see https://github.com/FormidableLabs/victory/issues/2668
- uses: ./.github/actions/setup
with:
node-version: 18.x

- name: Build Storybook
run: pnpm run storybook:build

- name: Publish to Chromatic
uses: chromaui/action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"types:check": "wireit",
"types:create": "wireit",
"storybook:build": "wireit",
"build-storybook": "pnpm run build:lib:esm && pnpm exec build-storybook",
"build-storybook": "pnpm run storybook:build",
"storybook:server": "concurrently --raw \"pnpm:build:lib:esm --watch\" \"pnpx storybook dev -p 6006\"",
"chromatic": "wireit",
"chromatic:ci": "wireit",
Expand Down

0 comments on commit edc14b7

Please sign in to comment.