install before ci

This commit is contained in:
Timo Hocker 2020-02-19 09:56:48 +01:00
parent d622558143
commit 56f81a7a1a
2 changed files with 2 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -16,6 +16,7 @@ pipeline {
script { script {
currentBuild.displayName = env.VERSION currentBuild.displayName = env.VERSION
} }
sh 'yarn'
sh 'yarn ci ${VERSION}' sh 'yarn ci ${VERSION}'
} }
} }

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"lint": "eslint .", "lint": "eslint .",
"test": "echo \"no test\"", "test": "echo \"no test\"",
"ci": "yarn --frozen-lockfile && yarn node jenkins.js" "ci": "yarn node jenkins.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",