fix: type-safe nitro editor helpers and stabilize deploy build
Local Build and Deploy / deploy (push) Failing after 29s

Rewrite getNested/updateNested without fragile any/Json inference, clear stale .next types before build, and skip env refine during compile.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
SimoandCursor committed 2026-07-18 19:57:33 +02:00
1 parent 1273f9aa46
commit b22725d3a9
3 files changed
+57 -30

No files matched your search

+4
View File
@@ -66,6 +66,10 @@ jobs:
pnpm test
# 7. Next.js Build
# Skip env refine during compile/page-data; runtime still validates via env.ts.
# Drop stale generated types that can diverge from source after incremental builds.
rm -rf .next/types .next/dev
export SKIP_ENV_VALIDATION=1
pnpm build
# 8. Fix ownership: Build first, THEN set permissions for the web server