Skip to content

Commit

Permalink
Merge pull request #14568 from storybookjs/tech/fix-yarn-config-in-e2e
Browse files Browse the repository at this point in the history
Build: Disable yarn immutable install by default during E2E tests
  • Loading branch information
gaetanmaisse authored Apr 12, 2021
2 parents 6aa55f7 + 95dd517 commit c64bccb
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 c64bccb

Please sign in to comment.