chore: 워크플로 액션을 node24 런타임 메이저로 올림 - #10
Merged
Merged
Conversation
v0.2.0 publish 실행에서 checkout·setup-node가 node20을 대상으로 해 러너가 24로 강제 실행한다는 경고가 떴다. 지금은 러너의 하위 호환으로 돌아가지만 그것이 사라지면 워크플로가 깨진다. - actions/checkout v4 → v7 (ci, publish) - actions/setup-node v4 → v7 (ci, publish) - actions/github-script v7 → v9 (dco, contribution-policy) 셋 다 runs.using이 node24다. setup-node v5가 package.json의 packageManager를 보고 캐싱을 자동으로 켜지만 이 레포에는 그 필드가 없고, 락파일도 없어 켜졌다면 실패할 자리였다. checkout v7이 pull_request_target에서 포크 PR 체크아웃을 막는데 contribution-policy는 메타데이터만 보므로 해당하지 않는다. Closes #9 Signed-off-by: rayim <rayim@fxy.global>
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.
Closes #9
v0.2.0 publish 실행에서 checkout·setup-node가 node20을 대상으로 해 러너가 24로 강제 실행한다는 경고가 떴다. 지금은 러너의 하위 호환으로 돌아가지만 그것이 사라지면 워크플로가 깨진다.
변경
actions/checkoutv4 → v7 (ci, publish)actions/setup-nodev4 → v7 (ci, publish)actions/github-scriptv7 → v9 (dco, contribution-policy)검증
셋 다
runs.using이node24인 것을 액션 저장소의action.yml에서 확인했다.메이저를 건너뛰며 올라가므로 걸릴 만한 변경을 짚었다.
setup-nodev5가package.json의packageManager필드를 보고 캐싱을 자동으로 켜는데, 이 레포에는 그 필드가 없어 해당하지 않는다. 락파일이 없으므로 캐시가 켜졌다면 실패할 자리였다.checkoutv7이pull_request_target·workflow_run에서 포크 PR 체크아웃을 막는데, contribution-policy는 메타데이터만 보고 체크아웃을 하지 않는다.github-scriptv9는getOctokit추가가 주 변경이고 기존github.rest.*·github.paginate사용은 그대로다.이 PR 자체가 검증이다. dco와 contribution-policy는 PR에서만 도는 워크플로라, 이 PR의 체크가 통과하면 새 메이저에서 그대로 동작한다는 뜻이다.