Fix TinaCloud CI: add --skip-cloud-checks to tinacms build

TinaCloud schema validation creates circular dependency in CI when
new types are added. Schema files are committed to git, so TinaCloud
re-indexes via GitHub webhook independently. Skip the build-time check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-03-18 22:38:12 +00:00
parent d5da487b4b
commit d1ff9c7ad1

View file

@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "tinacms dev -c \"vite\"",
"build": "tinacms build && node scripts/sync-blog.mjs && node scripts/copy-pages.mjs && node scripts/generate-sitemap.mjs && tsc -b && vite build && node scripts/prerender.mjs",
"build": "tinacms build --skip-cloud-checks && node scripts/sync-blog.mjs && node scripts/copy-pages.mjs && node scripts/generate-sitemap.mjs && tsc -b && vite build && node scripts/prerender.mjs",
"lint": "eslint .",
"preview": "vite preview",
"sync-blog": "node scripts/sync-blog.mjs",