I am wondering how those two things coexist and if there is a specific setup to use?
If I use the caching on the yarn step, what happens to the caching on cache-push, etc.
Yarn caching happens automatically through the push and pull steps by default.The input you are referring to here, can be used to cache the contents of the node_modules directories located under the project root, in addition.
We’ve dug into the step a bit more and turns out what I stated above was not correct, and your question is totally just, the step isn’t caching anything by default, only when the input is enabled.