fix(frontend): make Playwright server command portable (#5185)

This commit is contained in:
Ricky-7-Yan 2026-09-06 09:03:12 +08:00 committed by GitHub
parent ec274bdedb
commit b002d55991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,8 +28,7 @@ export default defineConfig({
webServer: skipWebServer
? undefined
: {
command:
"./node_modules/.bin/next build && ./node_modules/.bin/next start",
command: "pnpm exec next build && pnpm exec next start",
url: baseURL,
reuseExistingServer: !process.env.CI,
timeout: 120_000,