I have what should be a fairly simple build that I’m struggling to get working.
At the root of my project I have /composer.json and /composer.lock
In a subfolder of my project I have yarn.lock file (/docroot/themes/mytheme/yarn.lock)
What I’d like to happen it that the build does the following:
composer install cd /docroot/themes/mytheme/ yarn install yarn run build
It should then publish
However, if yarn.lock is not in the root of my project then the yarn command is not available.
Is there an easy way around this?