Skip to content

fix(ci): add --if-present flag to pnpm filter commands#238

Merged
froggy1014 merged 1 commit intodev/side-v2from
fix/ci-if-present-jeongmin
Apr 16, 2026
Merged

fix(ci): add --if-present flag to pnpm filter commands#238
froggy1014 merged 1 commit intodev/side-v2from
fix/ci-if-present-jeongmin

Conversation

@froggy1014
Copy link
Copy Markdown
Contributor

@froggy1014 froggy1014 commented Apr 16, 2026

요약

  • CI 워크플로우의 모든 pnpm --filter 명령에 --if-present 플래그 추가
  • root package.json 변경이 필터에 포함될 때 root 패키지에 lint/test/typecheck/build 스크립트가 없어서 발생하는 ERR_PNPM_RECURSIVE_RUN_NO_SCRIPT 오류 방지

관련

  • CI 실패 로그 — root package.json 변경 시 typecheck 스크립트가 없어 CI가 실패하는 문제 확인. --if-present 플래그를 추가하여 root에서 변경이 일어나도 해당 스크립트가 없는 패키지는 건너뛰고 CI가 정상적으로 동작하도록 수정

테스트 계획

  • root 레벨 파일만 수정하는 PR에서 CI 통과 확인
  • workspace 패키지 변경이 있는 PR에서 기존처럼 스크립트 정상 실행 확인

Prevents CI failure when root package.json changes are included
in the filter but root has no lint/test/typecheck/build scripts.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • main
  • release/v1

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3a60563a-0659-4e6e-a1f5-2a361ca994f1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ci-if-present-jeongmin

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 16, 2026

⚠️ No Changeset found

Latest commit: c607642

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@froggy1014 froggy1014 merged commit f6e2234 into dev/side-v2 Apr 16, 2026
4 checks passed
@froggy1014 froggy1014 deleted the fix/ci-if-present-jeongmin branch April 16, 2026 14:53
@froggy1014 froggy1014 mentioned this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants