diff --git a/.woodpecker.yml b/.woodpecker.yml index 76160df..3d26ff5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,24 +1,19 @@ # 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: - - node --version - - npm --version - - npm install --registry=https://registry.npmjs.org - - npx tsc --noEmit - e2e-tests: image: mcr.microsoft.com/playwright:v1.52.0-noble commands: - node --version - - npm install --registry=https://registry.npmjs.org + - npm install --registry=https://registry.npmjs.org --ignore-scripts 2>&1 || npm install --registry=https://registry.npmjs.org --ignore-scripts --legacy-peer-deps + - 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