ci: fix pipeline YAML format (use step list syntax)

This commit is contained in:
2026-04-11 14:31:49 +05:30
parent 33cbe61aec
commit d71551536d

View File

@@ -7,14 +7,14 @@ when:
- event: [push, manual] - event: [push, manual]
steps: steps:
typecheck: - name: 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
e2e-tests: - name: e2e-tests
image: mcr.microsoft.com/playwright:v1.52.0-noble image: mcr.microsoft.com/playwright:v1.52.0-noble
volumes: volumes:
- /opt/fortytwo/test-reports:/test-reports - /opt/fortytwo/test-reports:/test-reports
@@ -25,7 +25,7 @@ steps:
- mkdir -p /test-reports/${CI_PIPELINE_NUMBER} - 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}/ - cp -r playwright-report/* /test-reports/${CI_PIPELINE_NUMBER}/
- echo "Report published to https://operations.healix360.net/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