Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: use yarn run test

Alex Yang158338508adb
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f519a107c9..9ee82661e5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -356,13 +356,13 @@ jobs:
- name: Run desktop tests
if: ${{ matrix.spec.test && matrix.spec.os == 'ubuntu-latest' }}
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn nx test @affine/electron
+ run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn workspace @affine/electron test
env:
COVERAGE: true
- name: Run desktop tests
if: ${{ matrix.spec.test && matrix.spec.os != 'ubuntu-latest' }}
- run: yarn nx test @affine/electron
+ run: yarn workspace @affine/electron test
env:
COVERAGE: true