Skip to content

Commit

Permalink
e2e: disable yarn immutable install by default during E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanmaisse committed Apr 12, 2021
1 parent 43e1635 commit 4a987f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/run-e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ const configureYarn2 = async ({ cwd }: Options) => {
// Disable fallback mode to make sure everything is required correctly
`yarn config set pnpFallbackMode none`,
`yarn config set enableGlobalCache true`,
// We need to be able to update lockfile when bootstrapping the examples
`yarn config set enableImmutableInstalls false`,
// Add package extensions
// https://github.com/facebook/create-react-app/pull/9872
`yarn config set "packageExtensions.react-scripts@*.peerDependencies.react" "*"`,
Expand Down

0 comments on commit 4a987f2

Please sign in to comment.