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

38 lines
1012 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 0
lfs: true
submodules: true
when:
- event: push
- event: pull_request
steps:
- name: verify-mocks
image: mcr.microsoft.com/playwright:v1.54.2-jammy
commands:
- pwd
- node -v && npm -v
- npm ci
# Zeig mir, ob die Datei wirklich im Checkout liegt:
- echo "=== git ls-files ==="
- git ls-files | grep -i "^mocks/device-cgi-simulator/SERVICE/systemMockData.js" || true
- echo "=== ls -la ==="
- ls -la mocks/device-cgi-simulator/SERVICE || true
- echo "=== file exists? ==="
- test -f mocks/device-cgi-simulator/SERVICE/systemMockData.js && echo "FOUND" || (echo "MISSING" && exit 1)
- name: e2e-dev
image: mcr.microsoft.com/playwright:v1.54.2-jammy
environment:
CI: "true"
NODE_ENV: "development"
NEXT_TELEMETRY_DISABLED: "1"
PORT: "3000"
commands:
- npm ci
- npx playwright test --project=chromium