-
Notifications
You must be signed in to change notification settings - Fork 5
CI/CD(*): 버전 컨트롤 github action yml 수정 #359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Contributor
|
✅ Storybook이 배포되었습니다. |
jeonghoon11
approved these changes
Aug 1, 2025
gwagjiug
approved these changes
Aug 2, 2025
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.
📌 Summary
해당 PR에 대한 작업 내용을 요약하여 작성해주세요.
📚 Tasks
깃헙 액션 파일을 수정했습니다.
이유는 해당 깃헙 액션 코드에서
이와 같은 에러가 발생했습니다.
setup-node 에서 cache : 'pnpm' 는 npm이라는 패키지 매니저를 캐시한다는 뜻이 아니고, "pnpm이 이미 설치되어 있다고 가정하고" pnpm lockfile 기준으로 캐시 설정을 하겠다는 의미입니다.
하지만 이 시점에서는 pnpm을 한 번도 설치한 적이 없기 때문에 실행 불가 에러가 발생했다고 판단했어요.
그래서 pnpm 을 먼저 설치하고, setup node 를 하도록 순서를 변경하여 해결했습니다.
changeset 의 config.json 파일 구조를 자세히 기록해두었으니 참고 해주세요
{ "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", "changelog": ["@changesets/changelog-github", { "repo": "team-bofit/bofit-client" }], // GitHub PR 정보 기반으로 changelog 생성 (자동화) "commit": false, // 버전 변경을 자동 커밋하지 않음 (CI에서 직접 커밋할 경우 false로 유지) "linked": [], "access": "restricted", // npm 접근 권한 (restricted로 무관하게 설정) "baseBranch": "develop", // changeset status가 변경 감지를 위해 참고할 기준 브랜치 "updateInternalDependencies": "patch", // monorepo일 경우 내부 의존성 버전도 함께 업데이트 (patch 권장) "ignore": [] }