Files
CPLv4.0/.woodpecker.yml
2025-09-01 16:04:38 +02:00

34 lines
868 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# .woodpecker.yml
# Next.js + Playwright im DEV-Modus (webServer aus playwright.config.ts)
clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 0
lfs: true
submodules: true
when:
- event: push
- event: pull_request
steps:
- name: e2e-dev
# Image-Version MUSS zu deiner @playwright/test-Version passen!
# Falls dein package.json 1.54.x nutzt, ist dieses Image korrekt:
image: mcr.microsoft.com/playwright:v1.54.2-jammy
environment:
CI: "true"
NODE_ENV: "development"
NEXT_TELEMETRY_DISABLED: "1"
TZ: "Europe/Berlin"
LANG: "C.UTF-8"
# Falls dein webServer auf 3000 hört:
PORT: "3000"
commands:
- node -v && npm -v
- npm ci
# KEIN manueller Serverstart hier Playwright webServer übernimmt das!
- npx playwright test --project=chromium