mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
ci: speedup ci by reduce installation packages in certain job (#4457)
This commit is contained in:
@@ -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}`
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user