Refactor Jenkinsfile to remove unnecessary script execution during dependency installation and add pnpm workspace configuration for specific package builds.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-06-15 00:13:47 +01:00
parent 7a2de82586
commit b4b87380d2
2 changed files with 7 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -26,7 +26,7 @@ pipeline {
stage('Install Dependencies') {
steps {
nodejs(nodeJSInstallationName: 'Node23') {
sh 'pnpm install --frozen-lockfile --production=false --ignore-scripts=false'
sh 'pnpm install --frozen-lockfile --production=false'
}
}
}

6
pnpm-workspace.yaml Normal file
View File

@ -0,0 +1,6 @@
allowBuilds:
bcrypt: true
chromedriver: true
core-js: true
puppeteer: true
unrs-resolver: true