Files
helix-engage/.woodpecker.yml

32 lines
1008 B
YAML

# Woodpecker CI pipeline for Helix Engage
#
# Triggered on push or manual run.
# Reports published to operations.healix360.net/reports/{pipeline-number}/
when:
- event: [push, manual]
steps:
- name: typecheck
image: node:20
commands:
- corepack enable
- yarn install --frozen-lockfile || yarn install
- yarn tsc --noEmit
- name: e2e-tests
image: mcr.microsoft.com/playwright:v1.52.0-noble
volumes:
- /opt/fortytwo/test-reports:/test-reports
commands:
- corepack enable
- yarn install --frozen-lockfile || yarn install
- npx playwright install chromium
- mkdir -p /test-reports/${CI_PIPELINE_NUMBER}
- npx playwright test --reporter=list,html
- cp -r playwright-report/* /test-reports/${CI_PIPELINE_NUMBER}/
- echo "Report → https://operations.healix360.net/reports/${CI_PIPELINE_NUMBER}/"
environment:
E2E_BASE_URL: https://ramaiah.engage.healix360.net
PLAYWRIGHT_HTML_REPORT: playwright-report