diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05f8c70..f03e15c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,10 @@ jobs: env: CI: true - name: Test - uses: GabrielBB/xvfb-action@v1 - with: - run: yarn test + run: yarn test + if: runner.os != 'Linux' + - name: Test on Linux + run: xvfb-run -a yarn test + if: runner.os == 'Linux' - name: Lint run: yarn lint