e2e-test: work around yarn refusing install in CI

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-08-31 15:17:10 +02:00
parent 566ce49e97
commit 471d6c1a1d
+3
View File
@@ -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);