Skip to content

Commit 16c1844

Browse files
ci: Run yarn before running Storybook (#616)
ci: Run yarn install before storybook so developers who haven't installed latest modules don't get an error Co-authored-by: Michael Bylstra <michael.bylstra@cultureamp.com>
1 parent 2c8e04e commit 16c1844

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"scripts": {
1313
"ts-node": "TS_NODE_TRANSPILE_ONLY=true ts-node --project storybook/tsconfig.storybook.json",
14-
"storybook": "yarn ts-node node_modules/.bin/start-storybook -c storybook",
14+
"storybook": "yarn install && yarn ts-node node_modules/.bin/start-storybook -c storybook",
1515
"storybook:build": "yarn ts-node node_modules/.bin/build-storybook -c storybook -o storybook/public",
1616
"gatsby": "yarn workspace site gatsby",
1717
"tslint": "tslint --project .",

0 commit comments

Comments
 (0)