Skip to content

Conversation

@prgmr99
Copy link
Member

@prgmr99 prgmr99 commented Oct 22, 2025

Description

태그 푸시 시 npm 패키지 게시를 자동화하는 GitHub Actions 워크플로우를 구현하여,
간소화된 릴리스 프로세스를 보장합니다.


사용방식

git add .
git commit -m "fix: stringUtil 정규식 오류 수정"

// 패치 배포 (0.0.9 → 0.0.10) 또는
pnpm run release:patch

// 마이너 배포 (0.0.9 → 0.1.0) 또는
pnpm run release:minor

// 메이저 배포 (0.0.9 → 1.0.0)
pnpm run release:major

Github Actions 실패 시

# GitHub Actions 실패 시
# 1. Actions 탭에서 로그 확인
# 2. 문제 수정 후 새로운 태그로 재배포

git tag -d v0.0.10      # 로컬 태그 삭제
git push origin :v0.0.10 # 원격 태그 삭제
pnpm run release:patch   # 새로운 태그로 재시도

Proposal: 버전 관리 방식

PATCH (0.0.9 → 0.0.10)

# 버그 수정, 성능 개선
- 기존 함수의 버그 수정
- 타입 정의 개선
- 테스트 추가

MINOR (0.0.x → 0.1.0)

# 새로운 유틸리티 모듈/함수 추가
- 새로운 xxxUtil 모듈 추가
- 기존 모듈에 새 함수 추가
- 새로운 export 경로 추가

MAJOR (0.x.x → 1.0.0)

# API 변경, Breaking Changes
- 함수 시그니처 변경
- export 구조 변경
- 기존 함수 제거

@prgmr99 prgmr99 self-assigned this Oct 22, 2025
@prgmr99 prgmr99 added the enhancement New feature or request label Oct 22, 2025
@klmhyeonwoo
Copy link
Member

klmhyeonwoo commented Oct 22, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 79.68% 306 / 384
🔵 Statements 79.68% 306 / 384
🔵 Functions 96.66% 29 / 30
🔵 Branches 89.14% 115 / 129
File CoverageNo changed files found.
Generated in workflow #97 for commit d7287bd by the Vitest Coverage Report Action

@klmhyeonwoo
Copy link
Member

이야 빠른 작업 폼 미쳤는걸요,,

@prgmr99
Copy link
Member Author

prgmr99 commented Oct 23, 2025

이야 빠른 작업 폼 미쳤는걸요,,

아직 조금 더 남아서..ㅎㅎ;;
완료되면 리뷰 요청드리겠습니다!

@prgmr99
Copy link
Member Author

prgmr99 commented Oct 24, 2025

@klmhyeonwoo
이렇게 정리해보았는데요..!
테스트를 해봐야할 것 같아요..!

@prgmr99 prgmr99 marked this pull request as ready for review October 24, 2025 02:20
@klmhyeonwoo
Copy link
Member

@klmhyeonwoo 이렇게 정리해보았는데요..! 테스트를 해봐야할 것 같아요..!

우와 너무 좋은데요! 피쳐 몇개 추가해서 한번 직접 사용해봅시다!

Copy link
Member

@klmhyeonwoo klmhyeonwoo left a comment

Choose a reason for hiding this comment

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

GOGO

@prgmr99 prgmr99 force-pushed the 56-배포-파이프라인-설정하기 branch from 1ab5890 to d7287bd Compare October 24, 2025 05:21
@prgmr99 prgmr99 merged commit 1e247aa into main Oct 24, 2025
1 check passed
@prgmr99 prgmr99 deleted the 56-배포-파이프라인-설정하기 branch October 24, 2025 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants