From 8c88be082e02e4b5e456901c78c81fd971987914 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Thu, 18 Apr 2024 10:20:53 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20use=20xvfb-run=20in=20Windows?= =?UTF-8?q?=20or=20macOS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d471c0e..03917c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,10 @@ jobs: with: node-version: 20 - run: npm install + - run: npm test + if: ${{matrix.os!='ubuntu-latest'}} - run: xvfb-run npm test + if: ${{matrix.os=='ubuntu-latest'}} package: runs-on: ubuntu-latest