sets path to correct user
This commit is contained in:
parent
18cc5ceccd
commit
4865a0de89
@ -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
|
||||
|
Reference in New Issue
Block a user