24 lines
486 B
Groovy
24 lines
486 B
Groovy
pipeline {
|
|
agent {
|
|
docker { image 'circleci/node:10' }
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh "npm install"
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh "npm test"
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
}
|