From 09376f7536a0617aa0a642633bfe8c246d3b3a2a Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 1 Feb 2026 21:42:22 +0000 Subject: [PATCH] Switch to pnpm. --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,