diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 03942b3be..433b8bfda 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -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: diff --git a/package.json b/package.json index 5b82d9dcd..96994bebf 100644 --- a/package.json +++ b/package.json @@ -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",