Skip to content

Commit

Permalink
Merge pull request #20778 from storybookjs/norbert/ensure-playwright-…
Browse files Browse the repository at this point in the history
…version-sync-in-sandboxes

Build: fix playwright unsynced version in CI
  • Loading branch information
ndelangen authored Jan 25, 2023
2 parents 5ebd0c2 + d2938f9 commit 907b4f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/utils/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, it should match version specified in `./code/package.json` and `.circleci/config.yml`
};
await writeJSON(packageJsonPath, packageJson, { spaces: 2 });
};

Expand Down

0 comments on commit 907b4f5

Please sign in to comment.