ci: use yarn run test

This commit is contained in:
Alex Yang 2023-07-01 23:08:14 +08:00
parent 640967d9ae
commit 158338508a

View File

@ -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