fix: release workflow에 pnpm setup action 추가 #130
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.
변경사항
pnpm
으로 마이그레이션하면서release
workflow가 정상 동작하지 않았어요.알아보니
actions/setup-node
액션을 사용하면Node.js
와 함께yarn
이 자동으로 설치되지만, pnpm은 그렇지 않다고 해요.그래서
pnpm/action-setup@v2
액션을 추가하여 workflow에서 pnpm을 명시적으로 설치하고 사용할 수 있게 했어요.그 결과
release
workflow가 정상 동작하는 것을 확인했어요.++ 추가 작업
pnpm
으로 마이그레이션하면서 workspace를pnpm-workspace.yaml
이라는 별도의 파일에서 관리하게 되었는데, 아직 package.json에도 workspace 필드가 남아있어서 제거해주었습니다!링크
시급한 정도
🏃♂️ 보통 : 최대한 빠르게 리뷰 부탁드립니다.
기타 사항