From ec888551525035240aadc235cfd163e90cc62eae Mon Sep 17 00:00:00 2001 From: Charlie Brown Date: Thu, 25 Jan 2024 09:36:54 -0600 Subject: [PATCH] Fix chromatic errors --- .github/workflows/chromatic.yml | 3 +++ package.json | 20 +------------------- 2 files changed, 4 insertions(+), 19 deletions(-) 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",