Avoid building the application as a background job
All checks were successful
Playwright Tests / test (pull_request) Successful in 25m33s
All checks were successful
Playwright Tests / test (pull_request) Successful in 25m33s
This commit is contained in:
parent
4c2f514e8b
commit
74331c22cd
6
.github/workflows/playwright.yml
vendored
6
.github/workflows/playwright.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user