발행 워크플로우에서 bun publish 실행 시 scripts 무시 #730
Merged
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.
변경 사항
v0.0.4 패키지 발행이 실패했어요. 🥲
daleui/package.json
Line 46 in 89a31e6
https://github.com/DaleStudy/daleui/actions/runs/20800545743
이유는
bun publish가 실행될 때 자동으로prepare필드에 명시되어 있는 스크립트를 실행하기 때문입니다. 그런데panda codegen는 발행 워커플로우에서 이미 빌드 바로 전에 수동으로 실행됩니다. 그래서bun publish가 실행될 때는 life-cycle 훅 scripts를 무시하도록 변경하였습니다.daleui/.github/workflows/publication.yml
Line 37 in 89a31e6
목적
발행 워크플로우의 버그를 고치기 위함
리뷰어에게
N/A
PR 작성자 체크 리스트
UI 변경 없음