test: set npm registry inside .npmrc
This commit is contained in:
		
							parent
							
								
									73b888fdc3
								
							
						
					
					
						commit
						f2484b8e42
					
				| @ -2,8 +2,6 @@ | ||||
| 
 | ||||
| cat .tmp/sinopia.pid | xargs kill | ||||
| 
 | ||||
| cat .tmp/registry | xargs npm config set registry | ||||
| 
 | ||||
| cp .tmp/.npmrc ~/.npmrc | ||||
| 
 | ||||
| rm -rf .tmp | ||||
|  | ||||
| @ -8,10 +8,6 @@ mkdir -p .tmp/modules | ||||
| 
 | ||||
| sleep 0.5 | ||||
| 
 | ||||
| npm config get registry >> .tmp/registry | ||||
| 
 | ||||
| cp ~/.npmrc .tmp/.npmrc | ||||
| 
 | ||||
| cp tests/.npmrc ~/.npmrc | ||||
| 
 | ||||
| npm config set registry http://127.0.0.1:4873/ | ||||
|  | ||||
| @ -1,2 +1,3 @@ | ||||
| _auth=dGVzdDpmb28= | ||||
| email=test@example.com | ||||
| registry=http://127.0.0.1:4873/ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user