ci: use node:22 full image, add --prefer-offline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-04-11 13:48:55 +05:30
parent d2b04386d1
commit 2099584e0f

View File

@@ -7,16 +7,18 @@ when:
steps: steps:
typecheck: typecheck:
image: node:22-slim image: node:22
commands: commands:
- npm ci - node --version
- npm --version
- npm ci --prefer-offline
- npx tsc --noEmit - npx tsc --noEmit
e2e-tests: e2e-tests:
image: mcr.microsoft.com/playwright:v1.52.0-noble image: mcr.microsoft.com/playwright:v1.52.0-noble
commands: commands:
- npm ci - node --version
- npx playwright install chromium - npm ci --prefer-offline
- npx playwright test --reporter=list - npx playwright test --reporter=list
environment: environment:
E2E_BASE_URL: https://ramaiah.engage.healix360.net E2E_BASE_URL: https://ramaiah.engage.healix360.net