diff --git a/Jenkinsfile b/Jenkinsfile index f218c35..95f25bf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { steps { nodejs(nodeJSInstallationName: 'Node23') { sh 'node -v' - sh 'yarn -v' + sh 'pnpm -v' } } } @@ -26,7 +26,7 @@ pipeline { stage('Install Dependencies') { steps { nodejs(nodeJSInstallationName: 'Node23') { - sh 'yarn install --frozen-lockfile --production=false' + sh 'pnpm install --frozen-lockfile --production=false' } } } @@ -36,7 +36,7 @@ pipeline { nodejs(nodeJSInstallationName: 'Node23') { sh ''' export NODE_ENV=test - yarn test + pnpm test ''' } } @@ -58,7 +58,7 @@ pipeline { excludes: 'node_modules/**', execCommand: ''' cd /home/farmcontrol/farmcontrol-ws - yarn install --production + pnpm install --production sudo systemctl restart farmcontrol-ws ''', execTimeout: 120000,