I'm trying to run commands in parallel. But these commands need to be run in different directories. How can I achieve this? Can I do something like this:
parallel ::: 'cd platform1 && npm install && npm run build-all'
'cd platform2 && npm install && npm run build-prod'