ci: run svelte-kit sync before svelte-check
Deploy / verify (push) Successful in 41s
Deploy / deploy (push) Successful in 1m25s

- Replace postinstall API gen with svelte-kit sync prepare hook.
- CI explicitly syncs before typecheck so .svelte-kit/tsconfig.json exists.
This commit is contained in:
Peter Meier
2026-04-17 22:03:44 +02:00
parent 2fef91a548
commit d28a55a70a
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ WORKDIR /app
# Erst nur package*.json besseres Layer-Caching
COPY package*.json ./
# postinstall versucht CMS-Types zu generieren (|| true → unkritisch ohne CMS)
# prepare läuft svelte-kit sync (|| true → unkritisch wenn Config fehlt)
RUN npm ci
COPY . .