Skip to content

chore(repo): GitHub Actions CI 파이프라인 구성 - #7

Merged
meteorqz6 merged 3 commits into
developfrom
chore/3-github-actions-ci
Jun 6, 2026
Merged

chore(repo): GitHub Actions CI 파이프라인 구성#7
meteorqz6 merged 3 commits into
developfrom
chore/3-github-actions-ci

Conversation

@ehlung

@ehlung ehlung commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

개요

PR이 열릴 때마다 type check·lint를 자동으로 실행하는 CI 파이프라인을 구성한다.

Closes #3


변경 사항

  • .github/workflows/ci.yml 추가 — PR → develop, main 트리거
  • apps/web/package.jsontypecheck 스크립트 추가 (tsc --noEmit)
  • apps/api/package.jsontypecheck 스크립트 추가 (tsc --noEmit)

변경 유형

  • chore — 빌드·설정 변경

영향 범위

  • repo — 루트 설정·CI/CD·문서

테스트 방법

  1. 이 PR에 커밋을 추가하면 GitHub Actions CI가 자동 실행됨을 확인
  2. Actions 탭에서 각 step 통과 여부 확인

체크리스트

  • 공유 타입·스키마(packages/shared) 업데이트 (해당 없음)
  • CI (테스트 + 린트) 통과 확인 ← 이 PR이 CI 자체를 구성하는 PR

리뷰 포인트

  • pnpm/action-setup@v4 + actions/setup-node@v4 cache: pnpm 조합으로 의존성 캐싱 적용
  • 테스트 step은 주석 처리 — 테스트 코드 작성 후 활성화 예정
  • CI 통과 후 main·develop 브랜치 보호에 상태 체크 필수 조건 추가 필요

ehlung and others added 3 commits June 7, 2026 00:53
- .github/workflows/ci.yml 추가
- PR → develop, main 트리거 시 자동 실행
- 각 패키지 type check (tsc) + mobile lint (expo lint)
- apps/web, apps/api에 typecheck 스크립트 추가
- 테스트 step은 플레이스홀더로 추가 (테스트 코드 작성 후 활성화)

Closes #3

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pnpm/action-setup@v4는 package.json의 packageManager 필드를 자동으로
읽으므로 version 명시 제거. 중복 지정 시 ERR_PNPM_BAD_PM_VERSION 발생.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
주석만 있는 파일은 TypeScript가 모듈로 인식하지 못해 TS2306 에러 발생.
export {}로 빈 모듈 선언.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
// 예: export * from './auth'
// export * from './schedule'

export {}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[질문]
이 코드가 추가되어야 하는 이유가 무엇인가요?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석만 있는 파일이라 TypeScript가 모듈로 인식하지 못해서 export {}를 추가해 빈 모듈로 선언해주었습니다!

@meteorqz6
meteorqz6 merged commit 6116ab1 into develop Jun 6, 2026
1 check passed
@meteorqz6
meteorqz6 deleted the chore/3-github-actions-ci branch June 6, 2026 16:12
@meteorqz6
meteorqz6 restored the chore/3-github-actions-ci branch June 6, 2026 16:31
@meteorqz6
meteorqz6 deleted the chore/3-github-actions-ci branch June 8, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants