Skip to content

Testing in turborepo #5590

Answered by anthonyshew
andrevenancio asked this question in Help
Discussion options

You must be logged in to vote

It sounds like you're looking for:

{
  "pipeline": {
    "test": {
      "dependsOn": ["build"]
  }
}

Notice the lack of ^, meaning that your package needs to build itself before it runs test.

I may be misunderstanding the question here, though. Please let me know!

Replies: 1 comment 1 reply

Comment options

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

Answer selected by anthonyshew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants