mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-11 10:23:27 +00:00
ci: revert to working format, no volumes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -1,31 +1,23 @@
|
|||||||
# Woodpecker CI pipeline for Helix Engage
|
# Woodpecker CI pipeline for Helix Engage
|
||||||
#
|
|
||||||
# Triggered on push or manual run.
|
|
||||||
# Reports published to operations.healix360.net/reports/{pipeline-number}/
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: [push, manual]
|
- event: [push, manual]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: typecheck
|
typecheck:
|
||||||
image: node:20
|
image: node:20
|
||||||
commands:
|
commands:
|
||||||
- corepack enable
|
- corepack enable
|
||||||
- yarn install --frozen-lockfile || yarn install
|
- yarn install --frozen-lockfile || yarn install
|
||||||
- yarn tsc --noEmit
|
- yarn tsc --noEmit
|
||||||
|
|
||||||
- name: e2e-tests
|
e2e-tests:
|
||||||
image: mcr.microsoft.com/playwright:v1.52.0-noble
|
image: mcr.microsoft.com/playwright:v1.52.0-noble
|
||||||
volumes:
|
|
||||||
- /opt/fortytwo/test-reports:/test-reports
|
|
||||||
commands:
|
commands:
|
||||||
- corepack enable
|
- corepack enable
|
||||||
- yarn install --frozen-lockfile || yarn install
|
- yarn install --frozen-lockfile || yarn install
|
||||||
- npx playwright install chromium
|
- npx playwright install chromium
|
||||||
- mkdir -p /test-reports/${CI_PIPELINE_NUMBER}
|
|
||||||
- npx playwright test --reporter=list,html
|
- 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:
|
environment:
|
||||||
E2E_BASE_URL: https://ramaiah.engage.healix360.net
|
E2E_BASE_URL: https://ramaiah.engage.healix360.net
|
||||||
PLAYWRIGHT_HTML_REPORT: playwright-report
|
PLAYWRIGHT_HTML_REPORT: playwright-report
|
||||||
|
|||||||
Reference in New Issue
Block a user