switch to yarn
This commit is contained in:
parent
9581fbf2b3
commit
9457505a4c
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -15,7 +15,7 @@ pipeline {
|
||||
stage('Setup') {
|
||||
steps {
|
||||
echo 'Setting up test environment'
|
||||
sh 'npm ci'
|
||||
sh 'yarn --frozen-lockfile'
|
||||
sh 'nodejs jenkins.js ${VERSION}'
|
||||
script {
|
||||
currentBuild.displayName = env.VERSION
|
||||
@ -35,7 +35,7 @@ pipeline {
|
||||
publish = sh script: "git log -1 | grep '\\[no publish\\]'", returnStatus: true
|
||||
if (publish != 0) {
|
||||
echo 'Deploying'
|
||||
sh 'npm publish'
|
||||
sh 'yarn publish'
|
||||
} else {
|
||||
echo 'Build successful, Commit not marked for deploying'
|
||||
currentBuild.result = "UNSTABLE"
|
||||
|
2281
package-lock.json
generated
2281
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user