fix(repo): CI에 prisma generate 단계 추가 - #14
Merged
Merged
Conversation
database build 전 prisma generate를 실행하지 않아 @prisma/client 타입을 찾지 못하는 문제 수정. 캐시 히트 여부에 따라 성공/실패가 갈리는 불안정한 상태를 해결한다.
📝 WalkthroughWalkthroughCI 워크플로우에 Prisma 클라이언트 생성 단계가 추가되었습니다. 공유 모듈 타입 체크 후 데이터베이스 모듈의 Prisma 클라이언트를 생성한 후, 데이터베이스 모듈 타입 체크가 진행되도록 단계 순서가 변경되었습니다. ChangesCI 워크플로우 Prisma 클라이언트 생성 단계 추가
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
ehlung
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
CI에서
prisma generate없이tsc를 실행해@prisma/client타입을 찾지 못하는 문제를 수정합니다.변경 사항
.github/workflows/ci.yml에Generate Prisma client단계 추가Type check — shared와Type check — database사이에 위치변경 유형
fix— 버그 수정영향 범위
repo— 루트 설정·CI/CD·문서원인
pnpm install은@prisma/client패키지만 설치하고,PrismaClient·Prisma등 스키마 기반 타입 생성은prisma generate를 별도로 실행해야 합니다. CI에 이 단계가 없어 GitHub Actions 캐시 히트 여부에 따라 성공/실패가 갈리는 불안정한 상태였습니다.테스트 방법
Type check — database가 통과하는지 확인체크리스트
Type check — database통과 확인