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

This commit is contained in:
LongYinan authored and GitHub committed 2023-09-29 03:02:26 +00:00
1 parent b012e615ba
commit dd94ea5b45
84 files changed
+2954 -2271

No files matched your search

@@ -1,3 +1,5 @@
static
web-static
fixtures/*.ydoc
test-results
*.zip
Binary file not shown.
@@ -1,4 +1,4 @@
import { resolve } from 'node:path';
import { join } from 'node:path';
import { clickEdgelessModeButton } from '@affine-test/kit/utils/editor';
import { waitForEditorLoad } from '@affine-test/kit/utils/page-logic';
@@ -10,7 +10,7 @@ import { expect, test } from '@playwright/test';
const { switchToNext } = setupProxyServer(
test,
resolve(__dirname, '..', 'static')
join(__dirname, '..', 'web-static')
);
test('database migration', async ({ page, context }) => {
@@ -2,8 +2,8 @@
"name": "@affine-legacy/0.8.0-canary.7",
"description": "AFFiNE 0.8.0-canary.7 static output",
"scripts": {
"unzip": "unzip affine-core -d static",
"start": "yarn exec serve -s static -l 8082",
"unzip": "wget -O static.zip https://github.com/toeverything/AFFiNE/releases/download/v0.8.0-canary.7/web-static.zip && unzip static.zip",
"start": "yarn exec serve -s web-static -l 8082",
"e2e": "yarn playwright test"
},
"devDependencies": {