one thing I'm curious about is why you are building Twill on the server. You can push the Twill build to your git repository. It doesn't change unless you're updating Twill so unless you make sure that the server is using exactly the same node version you can't guarantee that the build is going to be the same as your local. You also don't need to build at all if you're not using custom Vue components.
php artisan twill:update
is sufficient to get the new build in that case.