adds path for upgraded npm
This commit is contained in:
parent
ac12ff01a0
commit
18cc5ceccd
@ -165,6 +165,8 @@ pipeline {
|
||||
su - node
|
||||
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}"
|
||||
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