test: woodpecker

This commit is contained in:
ISA
2025-09-05 07:28:44 +02:00
parent bd683d021a
commit 941b914fa9
7 changed files with 29 additions and 14 deletions

View File

@@ -31,11 +31,14 @@ export default defineConfig({
},
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
webServer: {
command: "npm run dev -- -p 3000", // wichtig: "--" damit npm das "-p" an next weiterreicht
url: "http://localhost:3000",
reuseExistingServer: true,
timeout: 120_000,
},
// In CI starten wir den statischen Simulator selbst (siehe .woodpecker.yml),
// daher kein automatischer dev-Webserver hier.
webServer: CI
? undefined
: {
command: "npm run dev -- -p 3000", // wichtig: "--" damit npm das "-p" an next weiterreicht
url: "http://localhost:3000",
reuseExistingServer: true,
timeout: 120_000,
},
});