diff --git a/Jenkinsfile b/Jenkinsfile index 84eee9b..dc9ed96 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,6 +16,7 @@ pipeline { steps { sh ''' npm config set cache /.npm + chown -R $(id -u):$(id -g) /.npm 2>/dev/null || true npm install ''' } @@ -30,6 +31,7 @@ pipeline { } steps { sh ''' + chown -R $(id -u):$(id -g) /.npm 2>/dev/null || true npm run type-check npm run build '''