diff --git a/.woodpecker.yml b/.woodpecker.yml index bb105e36..971e6542 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,19 +1,12 @@ -# Shallow clone - only fetch latest commit (faster checkout) -clone: - git: - depth: 1 - steps: # =========================================== # PR VALIDATION: Parallel type checks (PRs only) # =========================================== typecheck-backend: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd backend - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit depends_on: [] when: @@ -21,11 +14,9 @@ steps: typecheck-cannaiq: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd cannaiq - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit depends_on: [] when: @@ -33,11 +24,9 @@ steps: typecheck-findadispo: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd findadispo/frontend - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit 2>/dev/null || true depends_on: [] when: @@ -45,11 +34,9 @@ steps: typecheck-findagram: image: node:22 - volumes: - - npm-cache:/root/.npm commands: - cd findagram/frontend - - npm ci --prefer-offline --cache /root/.npm + - npm ci --prefer-offline - npx tsc --noEmit 2>/dev/null || true depends_on: [] when: