Repository navigation
fix(ci): собрать @delivery/shared и Prisma-клиент перед проверкой типов - #3
Conversation
…e-check The check job installs with --ignore-scripts, so Prisma's postinstall never runs and nothing builds the workspace package. tsc then can't find PrismaClient, the Prisma enums or @delivery/shared, and every downstream callback becomes implicit any. With both steps the API and Web type-check clean (0 errors locally). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe deploy workflow now builds ChangesDeploy type-check setup
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The workflow prepares the shared package and Prisma client before type-checking. No actionable merge-blocking issue was identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
CI падал с ~60 ошибками TypeScript, но код в порядке: job ставит зависимости с
--ignore-scripts, поэтомуprisma generate→ «нетPrismaClient,OrderStatus,AlertType…»;@delivery/shared(егоtypesуказывают наdist/) → «Cannot find module '@delivery/shared'»;implicit anyв колбэках) — следствие этих двух.Добавлены два шага перед
tsc. Локально на чистом клоне: API — 0 ошибок, Web — 0 ошибок.mainCI станет зелёным, и каждый push вmainснова будет запускать сборку Docker-образов → деплой на VPS (secrets.VPS_HOST) → EAS-сборку Android APK. Проект на паузе — перед merge проверь, что секретVPS_HOSTуказывает на 90.156.168.149, или мержи с[skip ci].🤖 Generated with Claude Code
Summary by CodeRabbit