Run the server in 127.0.0.1 host
Some checks failed
Check usage of free licenses / build-static-assets (pull_request) Successful in 5m14s
Add copyright notice / copyright_notice (pull_request) Successful in 6m34s
Playwright Tests / test (pull_request) Failing after 20m27s
Build Nginx-based docker image / build-static-assets (push) Has been cancelled

This commit is contained in:
Manuel Bustillo 2025-06-08 10:27:13 +02:00
parent d6f603d70c
commit 6490e585ee

View File

@ -25,7 +25,7 @@ jobs:
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run the service that will be tested
run: node .next/standalone/server.js &
run: HOST=127.0.0.1 node .next/standalone/server.js &
- name: Wait for the service to be ready
run: npx wait-on http://127.0.0.1:3000 --timeout 30000
- name: Run Playwright tests