diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 3437326d6..9a1851312 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -41,3 +41,4 @@ jobs: projectToken: 7c47e1a1a4bd autoAcceptChanges: true # 👈 Option to accept all changes workingDir: ./src/Ombi/ClientApp + buildScriptName: storybookbuild diff --git a/src/Ombi/ClientApp/package.json b/src/Ombi/ClientApp/package.json index 5bc14fd58..787bcc23b 100644 --- a/src/Ombi/ClientApp/package.json +++ b/src/Ombi/ClientApp/package.json @@ -8,7 +8,8 @@ "lint": "ng lint", "docs:json": "compodoc -p ./tsconfig.json -e json -d .", "storybook": "start-storybook -p 6006", - "chromatic": "chromatic --exit-zero-on-changes" + "chromatic": "chromatic --exit-zero-on-changes", + "storybookbuild": "yarn build-storybook" }, "private": true, "dependencies": {