27 lines
624 B
Groovy
27 lines
624 B
Groovy
pipeline {
|
|
agent {docker { image 'circleci/node:10' }}
|
|
environment {
|
|
HOME = '.'
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh "npm install"
|
|
sh "apt-file search libnss3.so"
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh "npm install webdriverio"
|
|
sh "npm test"
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
}
|