From f6554b95d4367361d0f9223c371c0cdc0fa32116 Mon Sep 17 00:00:00 2001 From: saridsa2 Date: Sat, 11 Apr 2026 14:05:24 +0530 Subject: [PATCH] ci: use yarn instead of npm (npm Exit handler bug) --- .woodpecker.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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