Skip to content

Calling custom actions #104

Answered by ojkelly
lodmfjord asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried yarn build -c scriptName? Where scriptName is a script present in all your workspaces?

Or would you more like the ability to run an arbitrary script, but in the utilising the build cache and topology of your dependencies?

Anytime you run yarn build where it's just build or test or a -c action a cache is kept for each workspace and package, so we know if we need to re run it.

In that sense, yarn build is not really designed for ad hoc scripts, but those that are key to your dev/deploy loop.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ojkelly
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #103 on September 02, 2021 23:52.