1
0
Fork 0
* add jenkins

* jslint -> eshint

* eshint -> eslint
This commit is contained in:
Lukas Winkler 2018-05-29 15:47:29 +02:00 committed by GitHub
parent ac99405a82
commit ffae49a873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

34
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,34 @@
pipeline {
agent {
docker {
image 'node'
}
}
stages {
stage('yarn install') {
steps {
sh 'yarn install --pure-lockfile --ignore-engines'
}
}
stage('Tests') {
parallel {
stage('eslint') {
steps {
sh 'yarn run eslint'
}
}
stage('webext_lint') {
steps {
sh 'yarn run webext_lint'
}
}
stage('htmllint') {
steps {
sh 'yarn run htmllint'
}
}
}
}
}
}