ci: speedup ci by reduce installation packages in certain job (#4457)

This commit is contained in:
LongYinan
2023-09-29 11:02:26 +08:00
committed by GitHub
parent b012e615ba
commit dd94ea5b45
84 changed files with 2954 additions and 2271 deletions
+3 -3
View File
@@ -14,8 +14,8 @@ import {
} from './playwright';
import { removeWithRetry } from './utils/utils';
const projectRoot = resolve(__dirname, '..', '..');
const electronRoot = resolve(projectRoot, 'apps', 'electron');
const projectRoot = join(__dirname, '..', '..');
const electronRoot = join(projectRoot, 'apps', 'electron');
function generateUUID() {
return crypto.randomUUID();
@@ -99,7 +99,7 @@ export const test = base.extend<{
args: [clonedDist],
env,
executablePath: resolve(
electronRoot,
projectRoot,
'node_modules',
'.bin',
`electron${ext}`