Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(turbo): add remote cache to reduce duplicated ci or build (#300)
fix #299 # Overview <!-- A clear and concise description of what this pr is about. --> As the project grew, CI and build times were getting longer. Therefore, I wanted to shorten this time by using a [remote cache](https://turbo.build/repo/docs/core-concepts/remote-caching). We can check extremely fast ci in GitHub Actions using Turborepo's remote caching of Vercel. I'm happy to solve the problem and introduce it to you with this Pull Request. 🚀 ## Extremely fast ci (for example: ci(lint): 1m 24s -> 28s) ### AS-IS:not using cache (ci(lint total): 1m 24s, prepack:29s -> lint:22s) <img width="830" alt="image" src="https://github.com/suspensive/react/assets/61593290/88241c97-dd98-4e41-a608-f18d47422678"> ### TO-BE:using cache (ci(lint total): 28s, prepack:2s -> lint:1s) <img width="822" alt="image" src="https://github.com/suspensive/react/assets/61593290/18363734-163e-40e3-9f98-be0a7854e6df"> ## Extremely fast publish In Pull Request, visualization and docs built file and @suspensive/react @suspensive/react-query @suspensive/react-await packed files will be cached, and when this Pull Request finally is merged, reuse it so publishing time for all packages and websites(docs, visualization) will be extremely saved ### build on Pull Request and cache it to reuse on publish docs, visualization and all packages <img width="832" alt="image" src="https://github.com/suspensive/react/assets/61593290/dad0e929-5c81-4fd8-8680-2dc821a4b266"> ## PR Checklist - [x] I did below actions if need 1. I read the [Contributing Guide](https://github.com/suspensive/react/blob/main/CONTRIBUTING.md) 2. I added documents and tests.
- Loading branch information
0d7f7a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
visualization – ./websites/visualization
visualization.suspensive.org
visualization-git-main-suspensive.vercel.app
visualization-suspensive.vercel.app
0d7f7a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./docs
docs-seven-omega.vercel.app
www.suspensive.org
docs-suspensive.vercel.app
docs-git-main-suspensive.vercel.app
suspensive.org