Fix shared-components storybook:update script (#32486)
It was failing due to being unable to access pnpm-workspace.yaml so change the docker context to the root of the monorepo Also disable pnpm-link script in the docker env and node-linking for storybook tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
838b3624b8
commit
2ee6933cfd
@@ -13,7 +13,7 @@ set -e
|
||||
# because we have which must be built for the right architecture (and some environments use a VM
|
||||
# to run docker containers, meaning that things inside a container use a different architecture than
|
||||
# those on the host).
|
||||
pnpm install
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
# Now run the screenshot update, we set CI=1 to inform vis to update the real baselines
|
||||
CI=1 /work/node_modules/.bin/vitest --run --update --project=storybook "$@"
|
||||
CI=1 pnpm --dir packages/shared-components test:storybook --run --update
|
||||
|
||||
Reference in New Issue
Block a user