Skip to content

Commit

Permalink
let's try using npm config set instead of writing directly to .npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
dherman committed Aug 23, 2024
1 parent b4d0fec commit 6d2f2d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/integration/proxy/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ curl -s \
EOF
)

echo "${PROXY_SERVER:5}:_authToken=${NPM_AUTH_TOKEN}" > $HOME/.npmrc
echo "always-auth=true" >> $HOME/.npmrc
npm config set "${PROXY_SERVER:5}:_authToken" "${NPM_AUTH_TOKEN}"

#echo "${PROXY_SERVER:5}:_authToken=${NPM_AUTH_TOKEN}" > $HOME/.npmrc
#echo "always-auth=true" >> $HOME/.npmrc

echo ".=$PWD"
echo "ROOT_DIR=${ROOT_DIR}"
Expand Down

0 comments on commit 6d2f2d1

Please sign in to comment.