Switch to pnpm.
Some checks failed
farmcontrol/farmcontrol-ws/pipeline/head There was a failure building this commit
Some checks failed
farmcontrol/farmcontrol-ws/pipeline/head There was a failure building this commit
This commit is contained in:
parent
ad8441f72f
commit
09376f7536
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user