Files
CPLv4.0/.woodpecker.yml
2025-08-29 11:18:43 +02:00

24 lines
793 B
YAML

# .woodpecker.yml — Option B (Browser im Workspace)
steps:
- name: install-dependencies-and-browsers
image: node:22
environment:
PLAYWRIGHT_BROWSERS_PATH: "0" # Browser in ./node_modules/playwright/.local-browsers
CI: "true"
commands:
- echo "📦 Installing deps..."
- npm ci
- echo "🧩 Installing Playwright (Chromium) into workspace..."
- npx playwright install chromium
- name: run-tests
image: node:22
environment:
PLAYWRIGHT_BROWSERS_PATH: "0" # gleicher Pfad wie oben
CI: "true"
commands:
- echo "🔧 Installing system dependencies for Playwright..."
- npx playwright install-deps
- echo "🧪 Running Playwright tests (Chromium only)..."
- npx playwright test --project=chromium