mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
ci: split migration test
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -299,6 +299,10 @@ jobs:
|
|||||||
run: yarn e2e --forbid-only
|
run: yarn e2e --forbid-only
|
||||||
working-directory: ./tests/affine-legacy/0.7.0-canary.18
|
working-directory: ./tests/affine-legacy/0.7.0-canary.18
|
||||||
|
|
||||||
|
- name: Run vitest
|
||||||
|
run: yarn test
|
||||||
|
working-directory: ./tests/affine-legacy/0.7.0-canary.18
|
||||||
|
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"unzip": "unzip affine-web -d static",
|
"unzip": "unzip affine-web -d static",
|
||||||
"start": "yarn exec serve -s static -l 8082",
|
"start": "yarn exec serve -s static -l 8082",
|
||||||
"e2e": "playwright test && vitest --run"
|
"e2e": "yarn playwright test",
|
||||||
|
"test": "vitest --run"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine-test/fixtures": "workspace:*",
|
"@affine-test/fixtures": "workspace:*",
|
||||||
|
|||||||
Reference in New Issue
Block a user