# .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