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}`
+1 -1
View File
@@ -10,7 +10,7 @@
},
"devDependencies": {
"@node-rs/argon2": "^1.5.2",
"@playwright/test": "^1.37.1",
"@playwright/test": "^1.38.1",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1"
},