From a84d8836a70ae653ef516d9887de729477fc5e7b Mon Sep 17 00:00:00 2001 From: "Xenos F." Date: Wed, 6 Nov 2024 05:35:19 +0800 Subject: [PATCH] Wait for client to run --- .github/workflows/system-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/system-test.yml b/.github/workflows/system-test.yml index 5db628018b..609fd2e5d4 100644 --- a/.github/workflows/system-test.yml +++ b/.github/workflows/system-test.yml @@ -58,10 +58,11 @@ jobs: cd server docker compose -f docker-compose.local.yml build docker compose -f docker-compose.local.yml up -d - - name: Setup & build client + - name: Setup & run client run: | cd client npm ci - npm run build + npm run start & + sleep 2 - name: Run Tests run: xvfb-run --server-args="-screen 0 1024x768x24" npm run test