From 471d6c1a1d78e25b11e49627148d4f578062cb6f Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 31 Aug 2022 15:17:10 +0200 Subject: [PATCH] e2e-test: work around yarn refusing install in CI Signed-off-by: Patrik Oldsberg --- packages/e2e-test/src/commands/run.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index 5f08cb2ca9..5b1df1129a 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -50,6 +50,9 @@ export async function run() { print('Building dist workspace'); const workspaceDir = await buildDistWorkspace('workspace', rootDir); + // Otherwise yarn will refuse to install with CI=true + process.env.YARN_ENABLE_IMMUTABLE_INSTALLS = 'false'; + print('Creating a Backstage App'); const appDir = await createApp('test-app', workspaceDir, rootDir);