echo "[npmAuth.\"https://url/\"]\ntoken = \"...c=\"\nalwaysAuth = true" > $HOME/.upmconfig.toml
It used to work this way. Unfortunately I don’t think this work anymore with Windows Builder.
The %USERPROFILE% does not seem to be the correct variable to use. The pre build script return this :
BUILD_PATH/p/Scripts/pre_build.sh: line 1: %USERPROFILE%/.upmconfig.toml: No such file or directory