switch to yarn

This commit is contained in:
Timo Hocker 2020-02-05 17:58:56 +01:00
parent aa837a3f3d
commit 7bf8cebe29
3 changed files with 1304 additions and 1572 deletions

4
Jenkinsfile vendored
View File

@ -15,7 +15,7 @@ pipeline {
stage('Setup') { stage('Setup') {
steps { steps {
echo 'Setting up environment' echo 'Setting up environment'
sh 'npm ci' sh 'yarn --frozen-lockfile'
sh 'nodejs jenkins.js ${VERSION}' sh 'nodejs jenkins.js ${VERSION}'
script { script {
currentBuild.displayName = env.VERSION currentBuild.displayName = env.VERSION
@ -29,7 +29,7 @@ pipeline {
publish = sh script: "git log -1 | grep '\\[no publish\\]'", returnStatus: true publish = sh script: "git log -1 | grep '\\[no publish\\]'", returnStatus: true
if (publish != 0) { if (publish != 0) {
echo 'Deploying' echo 'Deploying'
sh 'npm publish' sh 'yarn publish'
} else { } else {
echo 'Build successful, Commit not marked for deploying' echo 'Build successful, Commit not marked for deploying'
currentBuild.result = "UNSTABLE" currentBuild.result = "UNSTABLE"

1570
package-lock.json generated

File diff suppressed because it is too large Load Diff

1302
yarn.lock Normal file

File diff suppressed because it is too large Load Diff