From 1711eac1dd0310234f916bdfe1cd635f7d655a91 Mon Sep 17 00:00:00 2001 From: Arthur Araujo Date: Thu, 25 Apr 2024 09:43:56 -0300 Subject: [PATCH] Start the app before testing --- .github/workflows/playwright.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 027db22..8ab483f 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -5,6 +5,18 @@ on: pull_request: branches: [ main, master ] jobs: + start-app: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: lts/* + - name: Install dependencies + run: npm ci + - name: Start app in background + run: npm run web & test: timeout-minutes: 60 runs-on: ubuntu-latest