From 0737ba9a1bd38bb5174d6a6987d979363a6c1f5c Mon Sep 17 00:00:00 2001 From: casperiv0 <53900565+casperiv0@users.noreply.github.com> Date: Fri, 20 Oct 2023 13:20:27 +0200 Subject: [PATCH] chore: run chromatic --- .github/workflows/chromatic.yml | 5 ----- packages/ui/package.json | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 60e865996..e47dd848e 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -1,10 +1,5 @@ name: "Chromatic Publish (Storybook)" -on: - push: - branches: - - main - jobs: test: runs-on: ubuntu-latest diff --git a/packages/ui/package.json b/packages/ui/package.json index 1e1a40d00..31144bf4f 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -15,7 +15,8 @@ "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "chromatic": "pnpm chromatic", - "prepublish": "pnpm build" + "prepublish": "pnpm build", + "test:e2e": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"http-server storybook-static --port 6006 --silent\" \"wait-on http-get://127.0.0.1:6006 -v && pnpm test-storybook\"" }, "devDependencies": { "@storybook/addon-essentials": "^7.5.0",