From 81b7dd6e1631e599992cd572700cd16c30766e4a Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 1 Feb 2026 21:42:17 +0000 Subject: [PATCH] Switch to pnpm. --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 700c25d..7e392ed 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' } } } @@ -37,7 +37,7 @@ pipeline { sh ''' export NODE_ENV=test export SESSION_SECRET=test-session-secret-for-testing-only - yarn test + pnpm test ''' } } @@ -59,7 +59,7 @@ pipeline { excludes: 'node_modules/**', execCommand: ''' cd /home/farmcontrol/farmcontrol-api - yarn install --production + pnpm install --production sudo systemctl restart farmcontrol-api ''', execTimeout: 120000,