Turborepo with 2 react apps and CircleCI CI/CD only run for changed app

Viewed 9

I'm using Turborepo for my monorepo project, i have 2 react apps. How can i configure Turborepo and CircleCI (repos are on Github) so if i make changes to one project that pipeline is not going to run for second project?

I know turbo is using hash algo to check if there is any changes to a project and then rebuild it.

I have tried looking here https://turborepo.org/docs/ci/circleci but does not explain the behavior of this.

Steps would be:

  1. Make code change to Project 1
  2. Commit changes of monorepo to Github
  3. Github detects a commit and triggers CircleCI to run CI/CD So this part is what I'm not sure, if it triggers CI/CD it will trigger for the both projects right? And if so how can i prevent only for the one i have made changes?
0 Answers
Related