test: woodpecker
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user