ci: run svelte-kit sync before svelte-check
- 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:
+1
-1
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user