Skip to content

[DEVOPS #10]: expo 빌드 및 테스트 머지 조건 GitHub Workflow 추가 - #11

Merged
gyehyun-bak merged 5 commits into
devfrom
devops/#10
Jan 26, 2026
Merged

[DEVOPS #10]: expo 빌드 및 테스트 머지 조건 GitHub Workflow 추가#11
gyehyun-bak merged 5 commits into
devfrom
devops/#10

Conversation

@gyehyun-bak

@gyehyun-bak gyehyun-bak commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

관련 이슈

변경 사항

  • .nvmrc 파일 추가 (Node.js 22 버전 지정)
  • 없으면 빌드 실패로 떠서, assets/images에 임시 파일을 넣어두었습니다
  • CI 워크플로우 개선
    • 4개의 병렬 Job으로 분리: lint, typecheck, build, test
    • concurrency 설정으로 동일 PR 새 커밋 시 이전 실행 취소
    • expo-doctor로 Expo 환경 검증
    • expo export --platform web으로 번들 빌드 검사
    • npm run test --if-present로 테스트 스크립트 조건부 실행
  • 머지 룰셋 규칙에 추가

CI 워크플로우 구조

Job 역할
lint ESLint 코드 검사
typecheck TypeScript 타입 검사 (tsc --noEmit)
build Expo 환경 검증 + 번들 빌드 검사
test 테스트 실행 (스크립트 존재 시)

PR 머지 조건 설정 방법

GitHub 저장소 Settings > Branches > Branch protection rules에서 dev, main 브랜치에 대해 Required status checks로 위 4개 Job을 추가하면 됩니다.

@gyehyun-bak gyehyun-bak self-assigned this Jan 15, 2026
gyehyun-bak and others added 3 commits January 15, 2026 21:52
- Add .nvmrc for consistent Node.js version (22)
- Split workflow into 4 parallel jobs: lint, typecheck, build, test
- Add concurrency settings to cancel outdated runs
- Use expo-doctor for health check
- Make test step conditional with --if-present flag

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add placeholder images for app icons (icon.png, favicon.png, splash-icon.png)
- Add Android adaptive icon images (foreground, background, monochrome)
- Update expo to 54.0.31 and expo-constants to 18.0.13
- Fixes expo-doctor validation errors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Comment thread package-lock.json
@smilevictory

Copy link
Copy Markdown
Collaborator

고생하셨어요~ 버전업 속도가 빠르군요ㅋㅋ

@gyehyun-bak

Copy link
Copy Markdown
Contributor Author

@smilevictory 어프루브 한번 부탁드려요~

@smilevictory smilevictory left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

고생하셨어요!!

@gyehyun-bak
gyehyun-bak merged commit 166f1bf into dev Jan 26, 2026
4 checks passed
@gyehyun-bak
gyehyun-bak deleted the devops/#10 branch January 26, 2026 10:18
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.

[DEVOPS]: expo 빌드 및 테스트 머지 조건 GitHub Workflow 추가

2 participants