I have a parallel build that builds JS in one node and Go/C++ in another. I’d like to be able to cache the yarn-cache in the JS node, but I don’t see a way to specify $CIRCLE_NODE_INDEX for cache-store steps. Is this possible? Or can $CIRCLE_NODE_INDEX be made on of the possible cache key components? Otherwise there’s a 50/50 chance I’ll write an empty yarn-cache, depending on which half of the build finishes first.
Alternatively, is it possible to specify more than one build per repository? Then I could just run these separately.