Files
CPLv4.0/.woodpecker.yml
2025-08-29 10:38:31 +02:00

23 lines
706 B
YAML

steps:
- name: install-dependencies
image: node:22
environment:
NODE_PATH: /var/jenkins_home/.npm/node_modules
NPM_CONFIG_CACHE: /var/jenkins_home/.npm
commands:
- echo "📦 Installing dependencies..."
- npm install --prefer-offline --no-audit
- name: install-playwright
image: node:22
commands:
- echo "🧩 Installing Playwright and required browsers..."
- npx playwright install # vollständige Installation inkl. Chromium & headless_shell
- npx playwright install-deps
- name: run-tests
image: node:22
commands:
- echo "🧪 Running Playwright tests (Chromium only)..."
- npx playwright test --project=chromium