This commit is contained in:
		
							
								
								
									
										10
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -3,18 +3,12 @@ name: default | ||||
|  | ||||
| steps: | ||||
|   - name: setup | ||||
|     image: node:lts-alpine | ||||
|     image: registry:5000/node-build | ||||
|     commands: | ||||
|       - apk add --no-cache curl | ||||
|       - yarn | ||||
|       - curl https://git.scode.ovh/Timo/standard/raw/branch/master/ci.js > ci.js | ||||
|  | ||||
|   - name: build | ||||
|     image: node:lts-alpine | ||||
|     environment: | ||||
|       TOKEN: | ||||
|         from_secret: npm_token | ||||
|     image: registry:5000/node-build | ||||
|     commands: | ||||
|       - echo "$TOKEN" > ~/.npmrc | ||||
|       - npm i -g typescript | ||||
|       - node ci.js | ||||
|   | ||||
		Reference in New Issue
	
	Block a user