Are there established CI/CD strategies & best practices for working with a distributed team on a project that is utilizing monorepos?
I can provide two specific use-cases:
Working on content distribution, e.g. a daily/weekly HTML email newsletter, and
A multi-project directory for building LaTeX documents
Both of these scenarios will utilize the same CI/CD pipeline (build/send an email, compile and upload a LaTeX document) but with a growing & variable amount of content that makes independent repos per document undesirable.
Most of the projects using monorepos currently seem to be javascript projects with a lot of cross-dependencies on code. This is a step a way from that, but I'd still like to embrace the audit trail of version control with an automated development process for producing content.
Do these projects compile every piece of code on change? Is there a way to embrace a git diff or use some sort of 'flag' file in the repo root to use CI/CD tools with a monorepo?