From 158338508adb0832e500973496726934c69e6bef Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Sat, 1 Jul 2023 23:08:14 +0800 Subject: [PATCH] ci: use yarn run test --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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