ci: Remove clone/volume config (requires admin trust)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Woodpecker doesn't allow custom clone or volumes without elevated trust. Kaniko layer caching (--cache-repo) still works (registry-based). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,19 +1,12 @@
|
|||||||
# Shallow clone - only fetch latest commit (faster checkout)
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
depth: 1
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# ===========================================
|
# ===========================================
|
||||||
# PR VALIDATION: Parallel type checks (PRs only)
|
# PR VALIDATION: Parallel type checks (PRs only)
|
||||||
# ===========================================
|
# ===========================================
|
||||||
typecheck-backend:
|
typecheck-backend:
|
||||||
image: node:22
|
image: node:22
|
||||||
volumes:
|
|
||||||
- npm-cache:/root/.npm
|
|
||||||
commands:
|
commands:
|
||||||
- cd backend
|
- cd backend
|
||||||
- npm ci --prefer-offline --cache /root/.npm
|
- npm ci --prefer-offline
|
||||||
- npx tsc --noEmit
|
- npx tsc --noEmit
|
||||||
depends_on: []
|
depends_on: []
|
||||||
when:
|
when:
|
||||||
@@ -21,11 +14,9 @@ steps:
|
|||||||
|
|
||||||
typecheck-cannaiq:
|
typecheck-cannaiq:
|
||||||
image: node:22
|
image: node:22
|
||||||
volumes:
|
|
||||||
- npm-cache:/root/.npm
|
|
||||||
commands:
|
commands:
|
||||||
- cd cannaiq
|
- cd cannaiq
|
||||||
- npm ci --prefer-offline --cache /root/.npm
|
- npm ci --prefer-offline
|
||||||
- npx tsc --noEmit
|
- npx tsc --noEmit
|
||||||
depends_on: []
|
depends_on: []
|
||||||
when:
|
when:
|
||||||
@@ -33,11 +24,9 @@ steps:
|
|||||||
|
|
||||||
typecheck-findadispo:
|
typecheck-findadispo:
|
||||||
image: node:22
|
image: node:22
|
||||||
volumes:
|
|
||||||
- npm-cache:/root/.npm
|
|
||||||
commands:
|
commands:
|
||||||
- cd findadispo/frontend
|
- cd findadispo/frontend
|
||||||
- npm ci --prefer-offline --cache /root/.npm
|
- npm ci --prefer-offline
|
||||||
- npx tsc --noEmit 2>/dev/null || true
|
- npx tsc --noEmit 2>/dev/null || true
|
||||||
depends_on: []
|
depends_on: []
|
||||||
when:
|
when:
|
||||||
@@ -45,11 +34,9 @@ steps:
|
|||||||
|
|
||||||
typecheck-findagram:
|
typecheck-findagram:
|
||||||
image: node:22
|
image: node:22
|
||||||
volumes:
|
|
||||||
- npm-cache:/root/.npm
|
|
||||||
commands:
|
commands:
|
||||||
- cd findagram/frontend
|
- cd findagram/frontend
|
||||||
- npm ci --prefer-offline --cache /root/.npm
|
- npm ci --prefer-offline
|
||||||
- npx tsc --noEmit 2>/dev/null || true
|
- npx tsc --noEmit 2>/dev/null || true
|
||||||
depends_on: []
|
depends_on: []
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user