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:
@@ -33,6 +33,8 @@ jobs:
|
||||
cache: npm
|
||||
- name: Install deps
|
||||
run: npm ci
|
||||
- name: SvelteKit sync
|
||||
run: npx svelte-kit sync
|
||||
- name: Typecheck
|
||||
run: npx svelte-check --threshold error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user