diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 433b8bfda..6a6c3c304 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -25,6 +25,9 @@ jobs: with: node-version: 18.x + - name: Build Victory + run: pnpm run build:lib:esm + - name: Publish to Chromatic uses: chromaui/action@v1 with: diff --git a/package.json b/package.json index 96994bebf..80ea400ab 100644 --- a/package.json +++ b/package.json @@ -159,8 +159,8 @@ "jest:pkgs": "wireit", "types:check": "wireit", "types:create": "wireit", + "build-storybook": "storybook build", "storybook:build": "wireit", - "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", @@ -495,24 +495,6 @@ "pnpm-lock.yaml" ] }, - "chromatic": { - "command": "chromatic", - "dependencies": [ - "storybook:build" - ], - "packageLocks": [ - "pnpm-lock.yaml" - ] - }, - "chromatic:ci": { - "command": "chromatic --ci --exit-zero-on-changes", - "dependencies": [ - "storybook:build" - ], - "packageLocks": [ - "pnpm-lock.yaml" - ] - }, "sync": { "dependencies": [ "sync:pkgs",