NPM publishing fails with "env: ‘to’: No such file or directory"

I added the npm publishing config using official documentation. Nothing seems to fail (except than env: ‘to’: No such file or directory). The NPM authorization part is passing, but the package is not getting published to npm registry.
I have tried to repeat the same process locally (as in my build) and the package got published.
What does env: ‘to’: No such file or directory mean? Is it breaking my npm publishing?

Build: