Hey, I've managed to set up commands properly with Node.js. It goes like this:
/opt/plesk/node/12/bin/npm run build &> npm.log (so just type here path to yarn)
Logfile can be sometimes useful so I also create it each time.
You also need to go to Access to Web Hosting and select /bin/bash in...