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