Merge remote-tracking branch 'origin/master'
This commit is contained in:
		
						commit
						a3b99ccd20
					
				
							
								
								
									
										14
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| pipeline { | ||||
|   agent { | ||||
|     docker { | ||||
|       image 'node:14' | ||||
|       image 'node:18' | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
| @ -10,19 +10,25 @@ pipeline { | ||||
|       steps { | ||||
|         sh 'node -v' | ||||
|         sh 'npm -v' | ||||
|         sh 'npm install' | ||||
|         sh 'npm ci' | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|     stage('eslint') { | ||||
|       steps { | ||||
|         sh 'npm run eslint' | ||||
|         sh 'npm run eslint || npm run lint' | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|     stage('test') { | ||||
|       steps { | ||||
|         sh 'npm t' | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|     stage('build') { | ||||
|       steps { | ||||
|         sh 'npm run build' | ||||
|         sh 'npm run build:prod' | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user