Files
helix-engage/.woodpecker.yml
saridsa2 199176e729
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
ci: use Teams notification plugin
2026-04-11 15:34:19 +05:30

55 lines
1.4 KiB
YAML

# Woodpecker CI pipeline for Helix Engage
#
# Reports at operations.healix360.net/reports/{pipeline-number}/
# Teams notification on completion.
when:
- event: [push, manual]
steps:
typecheck:
image: node:20
commands:
- corepack enable
- yarn install --frozen-lockfile || yarn install
- yarn tsc --noEmit
e2e-tests:
image: mcr.microsoft.com/playwright:v1.52.0-noble
commands:
- corepack enable
- yarn install --frozen-lockfile || yarn install
- npx playwright install chromium
- npx playwright test --reporter=list,html
environment:
E2E_BASE_URL: https://ramaiah.engage.healix360.net
PLAYWRIGHT_HTML_REPORT: playwright-report
publish-report:
image: plugins/s3
settings:
bucket: test-reports
source: playwright-report/**/*
target: /${CI_PIPELINE_NUMBER}
strip_prefix: playwright-report/
path_style: true
endpoint: http://minio:9000
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
when:
- status: [success, failure]
notify-teams:
image: mobydeck/ci-teams-notification
settings:
webhook_url:
from_secret: teams_webhook
facts: project,message
buttons: pipeline
environment:
REPORT_URL: https://operations.healix360.net/reports/${CI_PIPELINE_NUMBER}/index.html
when:
- status: [success, failure]