Skip to content

Is it possible to skip the CI pipeline entirely with npx turbo-ignore? #7365

Answered by mehulkar
Haberkamp asked this question in Help
Discussion options

You must be logged in to vote

You can model this with 2 workflows (or 2 jobs in the same workflow, or 2 steps in the same job) by running --dry first, parsing the results and checking for cache misses, and then using that result to do a real run with --filter flag. You also should be able to skip the install step if you first install global turbo instead of using the local one.

We don't have a template or guide for this at the moment, but we use this approach internally at Vercel in some cases as well.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@thexpand
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mehulkar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants