From 3652c47dcd0dc31de035f5c5372fdbf9bd90ede4 Mon Sep 17 00:00:00 2001 From: clau <1281581+dualcnhq@users.noreply.github.com> Date: Tue, 14 May 2024 02:15:22 +0800 Subject: [PATCH] update config with xvfb --- .github/workflows/call-run-individual-tests.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/call-run-individual-tests.yml b/.github/workflows/call-run-individual-tests.yml index bfe077b6..32672c15 100644 --- a/.github/workflows/call-run-individual-tests.yml +++ b/.github/workflows/call-run-individual-tests.yml @@ -18,14 +18,18 @@ jobs: node-version: 20 cache: 'npm' - - name: Install jq - run: sudo apt-get install jq -y + # - name: Install jq + # run: sudo apt-get install jq -y - name: Install dependencies - run: npm ci + uses: coactions/setup-xvfb@v1 + with: + run: npm ci - name: Install Playwright Browsers - run: npx playwright install --with-deps + uses: coactions/setup-xvfb@v1 + with: + run: npx playwright install --with-deps - name: Run about tests if: always()