diff --git a/.woodpecker.yml b/.woodpecker.yml index 3d26ff5..ca7a92b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,19 +1,24 @@ # Woodpecker CI pipeline for Helix Engage # # Triggered on push or manual run. -# Runs E2E smoke tests against live EC2 deployment. 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: - - node --version - - npm install --registry=https://registry.npmjs.org --ignore-scripts 2>&1 || npm install --registry=https://registry.npmjs.org --ignore-scripts --legacy-peer-deps + - corepack enable + - yarn install --frozen-lockfile || yarn install - npx playwright install chromium - npx playwright test --reporter=list environment: E2E_BASE_URL: https://ramaiah.engage.healix360.net - NODE_OPTIONS: --max-old-space-size=4096