ci(bstein-home): stabilize playwright e2e server

This commit is contained in:
codex 2026-04-21 14:57:28 -03:00
parent 949d2861cb
commit 05a5738213
2 changed files with 2 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -300,6 +300,7 @@ PY
sh(script: '''#!/usr/bin/env bash
set -euo pipefail
mkdir -p build
ulimit -n 8192 || true
cd frontend
set +e
npm_ci_rc=1

View File

@ -13,7 +13,7 @@ export default defineConfig({
viewport: { width: 1440, height: 1080 },
},
webServer: {
command: "npm run dev -- --host 127.0.0.1 --port 4173",
command: "npm run build && npm run preview -- --host 127.0.0.1 --port 4173",
cwd: frontendRoot,
url: "http://127.0.0.1:4173",
reuseExistingServer: !process.env.CI,