test: added github-release-fake-server
This commit is contained in:
		
							parent
							
								
									f2484b8e42
								
							
						
					
					
						commit
						eb470712d7
					
				| @ -2,6 +2,8 @@ | ||||
| 
 | ||||
| cat .tmp/sinopia.pid | xargs kill | ||||
| 
 | ||||
| cat .tmp/ghrs.pid | xargs kill | ||||
| 
 | ||||
| cp .tmp/.npmrc ~/.npmrc | ||||
| 
 | ||||
| rm -rf .tmp | ||||
|  | ||||
| @ -5,6 +5,7 @@ set -e | ||||
| mkdir -p .tmp/modules | ||||
| 
 | ||||
| ./node_modules/.bin/sinopia ./tests/config.yml & echo $! >> .tmp/sinopia.pid | ||||
| ./node_modules/.bin/github-release-fake-server -p 4343 & echo $! >> .tmp/ghrs.pid | ||||
| 
 | ||||
| sleep 0.5 | ||||
| 
 | ||||
|  | ||||
| @ -19,6 +19,7 @@ | ||||
|     "semver": "^4.2.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "github-release-fake-server": "^1.1.1", | ||||
|     "lodash.defaults": "^3.0.0", | ||||
|     "nano-uid": "^0.2.0", | ||||
|     "nixt": "^0.4.1", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user