fix(ci): add --if-present flag to pnpm filter commands#238
fix(ci): add --if-present flag to pnpm filter commands#238froggy1014 merged 1 commit intodev/side-v2from
Conversation
Prevents CI failure when root package.json changes are included in the filter but root has no lint/test/typecheck/build scripts.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
요약
pnpm --filter명령에--if-present플래그 추가package.json변경이 필터에 포함될 때 root 패키지에lint/test/typecheck/build스크립트가 없어서 발생하는ERR_PNPM_RECURSIVE_RUN_NO_SCRIPT오류 방지관련
package.json변경 시typecheck스크립트가 없어 CI가 실패하는 문제 확인.--if-present플래그를 추가하여 root에서 변경이 일어나도 해당 스크립트가 없는 패키지는 건너뛰고 CI가 정상적으로 동작하도록 수정테스트 계획