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:
|
||||
# ===========================================
|
||||
# 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:
|
||||
|
||||
Reference in New Issue
Block a user