✨[Feat] GitHub Actions CI 구축 및 테스트 환경 설정 (Vitest)#8
Merged
Conversation
- 테스트 환경 구축 (Vitest, JSDOM, CSS 타입 정의 및 Radix UI 모킹)" - App 레이아웃 테스트 추가 - 일반 CSS 파일에 대한 TypeScript 타입 정의 추가 (style.d.ts)
- Push/PR 시 자동 테스트 및 빌드를 수행하는 CI 워크플로우 구축 - 빌드 성공 여부 검증 단계 포함 - npm 캐시 적용으로 설치 속도 최적화"
- .gitignore 수정을 통해 실제 데이터는 보호하고 테스트용 데이터만 추적하도록 설정 - GitHub Actions 워크플로우(main.yml) 내 빌드 전 샘플 데이터를 실제 경로로 복사하는 단계 추가 - 데이터 부재로 인한 CI 빌드 실패 문제 해결 및 테스트 환경 안정화"
- 수동 배포 방식을 사용하므로 CI 단계에서는 --publish never 옵션 적용 - 불필요한 GitHub Token 에러 해결
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.
📋 개요
프로젝트의 안정적인 개발과 코드 품질 유지를 위해 GitHub Actions를 활용한 CI 파이프라인을 구축하고, Vitest 기반의 유닛 테스트 환경 설정을 완료했습니다. 특히 저작권 이슈가 있는 데이터를 보호하면서도 빌드 검증이 가능하도록 샘플 데이터 구조를 도입했습니다.
🛠 작업 사항
🚀 테스트 결과