Best CI/CD Setup for Multiple React Vite Apps in Turborepo?

0
3
Asked By CleverPineapple42 On

I'm managing a Turborepo that includes three separate Vite websites located at apps/web1, apps/web2, and apps/web3. I'm trying to figure out the best CI/CD setup for this. Should I go with a single pipeline that only triggers deployments for updated apps, or would it be wiser to create individual pipelines for each app? For instance, if I make changes to web1, it should only deploy web1. What's considered the cleanest and most standard approach in the industry today?

1 Answer

Answered By TechGuru99 On

You're on the right track! A lot of CI tools let you set up jobs that only run when specific files change. I recommend creating separate jobs for each app and configure them to trigger only when updates occur. This way, you won’t be deploying everything every time, just what's necessary.

CuriousCoder77 -

Thanks for the insight! I understand the concept but I'm not sure how to implement it. Do you have any resources or docs that could help? Appreciate it!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.