chore(zpl-viewer): Vercel 배포 CI/CD 추가#10
Merged
Conversation
- main push 시 apps/zpl-viewer 변경 감지 후 배포 - vercel.json 빌드 설정
- main push 대신 zpl-viewer/v* 태그 푸시 시 배포 - workflow_dispatch로 수동 실행 지원
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 루트 vercel.json 제거 - apps/zpl-viewer/vercel.json 추가 (Root Directory 기준 설정)
- PR 시 apps/react-zpl, tests, test.yml 변경에만 실행
- react-zpl 테스트 전용 이름 지정 - paths 필터의 워크플로우 경로 수정
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.
📝 작업 내용
zpl-viewer 웹 앱의 Vercel 배포 CI/CD 및 테스트 워크플로우 정리
배포 (deploy-zpl-viewer.yml)
zpl-viewer/v*태그 푸시 또는workflow_dispatch수동 실행 시 Vercel 프로덕션 배포apps/zpl-viewer/vercel.json: 앱 디렉터리 기준 빌드 설정 (outputDirectory: dist)테스트 (test-react-zpl.yml)
test.yml→test-react-zpl.yml이름 변경apps/react-zpl/**,tests/**변경에만 실행하도록 paths 필터 추가🔍 변경 범위
apps/react-zpl- React ZPL 라이브러리docs- 문서 사이트tests- 테스트 코드demos- 데모 애플리케이션.github/workflows/,apps/zpl-viewer/vercel.json- CI/CD 설정📸 스크린샷 (선택사항)
📚 추가 정보
git tag zpl-viewer/v1.0.0 && git push origin zpl-viewer/v1.0.0또는 Actions 탭에서 수동 실행VERCEL_TOKEN,VERCEL_ORG_ID,VERCEL_PROJECT_ID