chore: #4-Manage version and GitHub action - #5
Merged
Conversation
…n and GitHub release creation
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.
Description
메인 브랜치로 병합될 때 자동으로 버전을 업데이트하고 npm에 배포하는 CI/CD 파이프라인을 구축하였습니다.
주요 변경사항
CI 워크플로우 추가 (
.github/workflows/ci.yml)Release 워크플로우 추가 (
.github/workflows/release.yml)버전 자동 증가 스크립트 (
scripts/bump-version.js)pnpm run version:bump명령어로 사용 가능package.json 업데이트
packageManager필드 추가 (pnpm 9.13.2 명시)version:bump스크립트 추가작동 방식
Related Issue
Fixes #4
Motivation and Context
현재는
package.json의 버전을 수동으로 업데이트하고npm publish를 직접 실행해야 하는 번거로움이 있었습니다. 이를 자동화함으로써:Screenshots (if appropriate):