diff --git a/scripts/run-e2e.ts b/scripts/run-e2e.ts index b8ae56437898..8579ecdf3153 100644 --- a/scripts/run-e2e.ts +++ b/scripts/run-e2e.ts @@ -78,7 +78,7 @@ const cleanDirectory = async ({ cwd }: Options): Promise => { const configureYarn2 = async ({ cwd }: Options) => { const command = [ - `yarn set version 2`, + `yarn set version berry`, // ⚠️ Need to set registry because Yarn 2 is not using the conf of Yarn 1 `yarn config set npmScopes --json '{ "storybook": { "npmRegistryServer": "http://localhost:6000/" } }'`, // Some required magic to be able to fetch deps from local registry