mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 03:49:56 +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}`
|
||||
|
||||
Reference in New Issue
Block a user