Updated Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-13 01:52:56 -05:00
parent b068c08c5c
commit ca9e8dad9e

6
Jenkinsfile vendored
View File

@ -3,21 +3,21 @@ pipeline {
stages { stages {
stage ("install") { stage ("install") {
steps { steps {
nodejs("System") { nodejs("System NodeJS") {
sh "npm install" sh "npm install"
} }
} }
} }
stage ("test") { stage ("test") {
steps { steps {
nodejs("System") { nodejs("System NodeJS") {
sh "npm run test" sh "npm run test"
} }
} }
} }
stage ("build") { stage ("build") {
steps { steps {
nodejs("System") { nodejs("System NodeJS") {
sh "npm run build" sh "npm run build"
} }
} }