From 74331c22cd4782b137a09b89d813cfe8eeb6051b Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 11 Aug 2024 21:07:21 +0200 Subject: [PATCH] Avoid building the application as a background job --- .github/workflows/playwright.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3342827..051885d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -15,9 +15,11 @@ jobs: node-version: lts/* - name: Install dependencies run: npm install -g pnpm && pnpm install - - name: Build and start the service that will be tested - run: npm run build && npm run start & + - name: Build the service that will be tested + run: npm run build - name: Install Playwright Browsers run: pnpm exec playwright install --with-deps + - name: Run the service that will be tested + run: npm run start & - name: Run Playwright tests run: pnpm exec playwright test