Correction npm
This commit is contained in:
1 parent
90633e6f0e
commit
a04a6d013e
1 file changed
+7
-7
Vendored
+7
-7
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user