style: standard
This commit is contained in:
		
							parent
							
								
									cdf705cb8a
								
							
						
					
					
						commit
						462c51dc2a
					
				| @ -99,11 +99,11 @@ npmconf.load({}, function (err, conf) { | |||||||
|       if (env.NPM_OLD_TOKEN && env.NPM_EMAIL) { |       if (env.NPM_OLD_TOKEN && env.NPM_EMAIL) { | ||||||
|         // Using the old auth token format is not considered part of the public API
 |         // Using the old auth token format is not considered part of the public API
 | ||||||
|         // This might go away anytime (i.e. once we have a better testing strategy)
 |         // This might go away anytime (i.e. once we have a better testing strategy)
 | ||||||
|         conf.set('_auth', '${NPM_OLD_TOKEN}', 'project') |         conf.set('_auth', '${NPM_OLD_TOKEN}', 'project') // eslint-disable-line no-template-curly-in-string
 | ||||||
|         conf.set('email', '${NPM_EMAIL}', 'project') |         conf.set('email', '${NPM_EMAIL}', 'project') // eslint-disable-line no-template-curly-in-string
 | ||||||
|         wroteNpmRc = true |         wroteNpmRc = true | ||||||
|       } else if (env.NPM_TOKEN) { |       } else if (env.NPM_TOKEN) { | ||||||
|         conf.set(nerfDart + ':_authToken', '${NPM_TOKEN}', 'project') |         conf.set(nerfDart + ':_authToken', '${NPM_TOKEN}', 'project') // eslint-disable-line no-template-curly-in-string
 | ||||||
|         wroteNpmRc = true |         wroteNpmRc = true | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ module.exports = function (cwd, uri) { | |||||||
|   return nixt() |   return nixt() | ||||||
|     .cwd(cwd) |     .cwd(cwd) | ||||||
|     .env('NPM_OLD_TOKEN', 'aW50ZWdyYXRpb246c3VjaHNlY3VyZQ==') |     .env('NPM_OLD_TOKEN', 'aW50ZWdyYXRpb246c3VjaHNlY3VyZQ==') | ||||||
| 		.env('NPM_EMAIL', 'integration@test.com') |     .env('NPM_EMAIL', 'integration@test.com') | ||||||
|     .env('GH_TOKEN', 'ghtoken') |     .env('GH_TOKEN', 'ghtoken') | ||||||
|     .env('CI', 'true') |     .env('CI', 'true') | ||||||
|     .env('npm_config_registry', uri) |     .env('npm_config_registry', uri) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user