Deployment error for script provider

I get the error failed to deploy when I try to deploy to NPM using Yarn.

My repo is and the build is

Note that I manually published a new version to NPM, after build failed, so this should not be the case.

You have an array in the script for the script provider. This does not work.