Avoid building the application as a background job
All checks were successful
Playwright Tests / test (pull_request) Successful in 25m33s

This commit is contained in:
Manuel Bustillo 2024-08-11 21:07:21 +02:00
parent 4c2f514e8b
commit 74331c22cd

View File

@ -15,9 +15,11 @@ jobs:
node-version: lts/* node-version: lts/*
- name: Install dependencies - name: Install dependencies
run: npm install -g pnpm && pnpm install run: npm install -g pnpm && pnpm install
- name: Build and start the service that will be tested - name: Build the service that will be tested
run: npm run build && npm run start & run: npm run build
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps run: pnpm exec playwright install --with-deps
- name: Run the service that will be tested
run: npm run start &
- name: Run Playwright tests - name: Run Playwright tests
run: pnpm exec playwright test run: pnpm exec playwright test