From 18cc5ceccd4752c8bf6f5595f54073fadfdf2eb5 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Thu, 1 Jun 2023 08:50:14 -0500 Subject: [PATCH] adds path for upgraded npm --- build-k8s-lenz.jenkins | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-k8s-lenz.jenkins b/build-k8s-lenz.jenkins index 57b5c19..1c256de 100644 --- a/build-k8s-lenz.jenkins +++ b/build-k8s-lenz.jenkins @@ -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