-
Notifications
You must be signed in to change notification settings - Fork 105
Disable Turborepo cache for CI related tasks #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Disable cache for all tasks except "build"
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
| "test": { | ||
| "dependsOn": ["^build"] | ||
| "dependsOn": ["^build"], | ||
| "cache": false |
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.
This makes sense to me for test but not for dev since presumably we do want caching for dev, which is just a different kind of "build" step that also runs the code, right?
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.
i assume that on dev we can't take full advantage of the cache because of constant updates, not fully sure though
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.
The build task would still be cacheable. But also frankly I don't think we even need a dev task. Does anybody use turbo run dev in this repo?
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.
I use t dev for some things, but can just as easily use t build && p dev for the same

Disable cache for all tasks except "build"