message: chore: make sure to throw when e2e fails
diff: @@ -42,7 +42,10 @@ const templatePackagePaths = [
  ];
  export async function run() {
  - const rootDir = await fs.mkdtemp(resolvePath(os.tmpdir(), 'backstage-e2e-'));
  + try {
  + const rootDir = await fs.mkdtemp(
  + resolvePath(os.tmpdir(), 'backstage-e2e-'),
  + );
  print(`CLI E2E test root: ${rootDir}\n`);
  print('Building dist workspace');
  @@ -50,7 +53,12 @@ export async function run() {
  const isPostgres = Boolean(process.env.POSTGRES_USER);
  print('Creating a Backstage App');
  - const appDir = await createApp('test-app', isPostgres, workspaceDir, rootDir);
  + const appDir = await createApp(
  + 'test-app',
  + isPostgres,
  + workspaceDir,
  + rootDir,
  + );
  print('Creating a Backstage Plugin');
  const pluginName = await createPlugin('test-plugin', appDir);
  @@ -69,6 +77,9 @@ export async function run() {
  // Just in case some child process was left hanging
  process.exit(0);
  + } catch {
  + process.exit(1);
  + }
  }
  /**
  