Correction npm

This commit is contained in:
dandanalaa committed 2022-12-10 21:40:14 +00:00
1 parent 90633e6f0e
commit a04a6d013e
1 file changed
+7 -7
Vendored
+7 -7
View File
@@ -28,13 +28,7 @@ cat ./.env'''
}
}
stage('test') {
steps {
sh 'npm test'
}
}
stage('build') {
stage('Build') {
steps {
sh '''npm install
npm run build
@@ -42,6 +36,12 @@ npm start & sleep 100'''
}
}
stage('Test') {
steps {
sh 'npm test'
}
}
}
tools {
nodejs 'Node 16.18'