Conversation
develop push 마다 <patch+1>-dev.<run_number> 를 dev 태그로, master push 시에는 package.json 버전이 npm 에 아직 없을 때만 latest 태그로 배포한다. 두 채널이 npm 에 공존해야 소비자 쪽에서 npm alias 로 운영본과 개발본을 동시에 설치할 수 있다. - release.yml 삭제: 역할이 중복되고, GitHub Release 수동 트리거에 의존해 배포가 2025-05-30 이후 멈춰 있었다 - setup-node 에 registry-url 추가: 저장소에 .npmrc 가 없어 npm publish 가 NODE_AUTH_TOKEN 을 읽지 못하고 401 로 실패하는 문제를 막는다 - 버전은 러너에서만 npm pkg set 으로 바꾸고 publish 직후 원복해 커밋하지 않는다 - 버전 계산이 실패한 채 잘못된 값으로 publish 되지 않도록 형식 가드를 둔다 - 첫 배포를 수동으로 확인할 수 있게 workflow_dispatch 를 추가한다 - dist 브랜치 배포 로직과 package.json 의 files 필드는 변경하지 않았다 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ci: npm dev/latest 두 채널 자동 publish 구성
github.run_number 는 build-and-deploy 워크플로 전체의 누적 실행 횟수라 dev 채널을 도입한 시점에 이미 313 이었다. 도입 직전 실행 번호를 기준점으로 빼서 첫 dev 배포가 4.0.23-dev.1 이 되게 한다. master/develop2/deploy 브랜치 push 도 같은 카운터를 올리므로 번호는 건너뛸 수 있으나, 재publish 가 거부되지 않도록 단조증가하기만 하면 되므로 연속성은 요구하지 않는다. 번호가 기준점 이하로 내려가면 잘못된 값으로 publish 하지 않고 실패한다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ci: dev prerelease 번호를 1 부터 시작하도록 기준점 보정
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.
No description provided.