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 - name: notify image: deblan/woodpecker-email settings: dsn: from_secret: SMTP_DSN # z.B. smtp://USER:PASS@smtp.office365.com:587?verify_peer=1 from: address: "ci@dein-domain.tld" name: "Woodpecker" recipients: - "ismail_ali_1@hotmail.com" content: subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }})" body: | Status: {{ pipeline.status }} Build: {{ pipeline.url }} Commit: {{ commit.sha }} von {{ commit.author_email }} when: status: [success, failure]