mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Add pre-build step for nodejs stuff (#2581)
This commit is contained in:
		
							
								
								
									
										11
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -9,6 +9,14 @@ clone: | ||||
|     tags: true | ||||
|  | ||||
| pipeline: | ||||
|   pre-build: | ||||
|     image: webhippie/nodejs:latest | ||||
|     pull: true | ||||
|     commands: | ||||
|       - npm install | ||||
|       - make stylesheets-check | ||||
|     when: | ||||
|       event: [ push, tag, pull_request ] | ||||
|   build: | ||||
|     image: webhippie/golang:edge | ||||
|     pull: true | ||||
| @@ -16,14 +24,11 @@ pipeline: | ||||
|       TAGS: bindata sqlite | ||||
|       GOPATH: /srv/app | ||||
|     commands: | ||||
|       - apk -U add nodejs nodejs-npm | ||||
|       - npm install | ||||
|       - make clean | ||||
|       - make generate | ||||
|       - make vet | ||||
|       - make lint | ||||
|       - make fmt-check | ||||
|       - make stylesheets-check | ||||
|       - make misspell-check | ||||
|       - make test-vendor | ||||
|       - make build | ||||
|   | ||||
		Reference in New Issue
	
	Block a user