Skip to content

Commit a06a7ee

Browse files
committed
[chore] use another storybook build for chromatic
1 parent e049b8d commit a06a7ee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

chromatic.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://www.chromatic.com/config-file.schema.json",
3-
"buildScriptName": "storybook:build",
3+
"buildScriptName": "storybook:chromatic:build",
44
"exitOnceUploaded": true,
55
"onlyChanged": true
66
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"git:setup": "git config --local attributesfile.name \".gitattributes\" && git config --local rebase.backend \"merge\" && git config --local merge.changelog-merge-driver.name \"changelog-merge-driver\" && git config --local merge.changelog-merge-driver.driver \"pnpm tsm --require=./.ci/tsm-filter-warnings.js ./.ci/changelog-merge-driver.ts %A %B\"",
4545
"storybook": "storybook dev -p 6006",
4646
"storybook:build": "tsm --require=./.ci/tsm-filter-warnings.js ./.ci/prebuild-stories.ts && storybook build",
47+
"storybook:chromatic:build": "storybook build",
4748
"storybook:test": "storybook test"
4849
},
4950
"private": true,

0 commit comments

Comments
 (0)