sets path to correct user

This commit is contained in:
Hyatt 2023-06-01 08:52:49 -05:00
parent 18cc5ceccd
commit 4865a0de89
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -166,7 +166,7 @@ pipeline {
printf '%s\\n' "Setting up NODE user build permissions"
mkdir -p "/home/node/.npm"
printf '%s\\n' "Setting up PATH"
export PATH="${HOME}/.npm/bin:${PATH}"
export PATH="/home/node/.npm/bin:${PATH}"
printf '%s\\n' "Configuring NODE"
npm config set prefix="/home/node/.npm"
npm config set unsafe-perm true