mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-11 18:28:15 +00:00
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# Woodpecker CI pipeline for Helix Engage
|
|
#
|
|
# Reports published to operations.healix360.net/reports/{pipeline-number}/
|
|
|
|
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]
|