From 4729f63f4b03b84963049df0d33a0b3079852ecc Mon Sep 17 00:00:00 2001 From: Janusz Czapski Date: Mon, 22 Apr 2024 14:28:20 +0100 Subject: [PATCH] fix: start server & run tests in same stage --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9b27f15..58cb676 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,10 +27,10 @@ jobs: run: pnpm install - name: Install Playwright browsers run: npx playwright install --with-deps - - name: Start local server - run: pnpm run start - name: Run playwright tests - run: npx playwright test + run: | + pnpm run start + npx playwright test - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: