diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index f68c4fc4f..7df5fb9e6 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -34,5 +34,6 @@ jobs: uses: chromaui/action@v1 # Chromatic GitHub Action options with: + buildScriptName: 'storybook:build' # 👇 Chromatic projectToken, refer to the manage page to obtain it. projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} diff --git a/.gitignore b/.gitignore index 4d2efb7b6..8ac550b3e 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,6 @@ vite.config.js.timestamp-* # gitbutler .git/gb-* + +# storybook +storybook-static diff --git a/package.json b/package.json index 7d5cf58fa..4745c65f1 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "lint": "prettier --plugin-search-dir . --check . && eslint .", "format": "prettier --plugin-search-dir . --write .", "tauri": "tauri", - "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build" + "storybook": "storybook", + "storybook:build": "storybook build" }, "dependencies": { "@codemirror/autocomplete": "^6.4.2",