diff --git a/scripts/utils/yarn.ts b/scripts/utils/yarn.ts index 83a18d51399..08a312a0554 100644 --- a/scripts/utils/yarn.ts +++ b/scripts/utils/yarn.ts @@ -20,7 +20,11 @@ export const addPackageResolutions = async ({ cwd, dryRun }: YarnOptions) => { const packageJsonPath = path.join(cwd, 'package.json'); const packageJson = await readJSON(packageJsonPath); - packageJson.resolutions = { ...storybookVersions, 'enhanced-resolve': '~5.10.0' }; + packageJson.resolutions = { + ...storybookVersions, + 'enhanced-resolve': '~5.10.0', // TODO, remove this + playwright: '1.30.0', // this is for our CI test, ensure we use the same version as docker image + }; await writeJSON(packageJsonPath, packageJson, { spaces: 2 }); };