Skip to content

Run jobs from different projects in series #103

Answered by LMaxence
tiagodj asked this question in Q&A
Discussion options

You must be logged in to vote

Hello !

From what I understand, lint-staged, due to this behaviour does not properly run simultaneously in the same monorepo. I can provide the following options for you in this situation:

  1. There is actually an option for lint stage to checkout and stash only a specific workspace while running ? There might already be related issues like that out there

  2. You can put both of the lint jobs in a hooks file above (in services in your situation). Thus, both jobs are in the same hook file and can become serial.

  3. Instead of linting both workspace separately, you might only lint them once by configuering the linting task at your monorepo level. I wrote a bit about such a setup on Escape's engin…

Replies: 1 comment

Comment options

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