Make check_dependencies.sh run yarn on dev
When changing branches and running jest tests, I often get yarn integrity check failing
yarn check --integrity failed!
Your dependencies probably don't match the yarn.lock file.
Please run yarn install and try again.
I assume check_dependencies is used on CI so the error message is needed.
In my case I'd rather it run yarn
, then either continue or try the command again. Or even still error but say "I already ran yarn
, just press up then enter to run your command again"