mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-11-01 03:01:53 +08:00 
			
		
		
		
	Dont always auth
This commit is contained in:
		| @ -41,7 +41,7 @@ function writeRegistryToFile(registryUrl, fileLocation) { | ||||
|     const registryString = scope | ||||
|         ? `${scope}:registry=${registryUrl}` | ||||
|         : `registry=${registryUrl}`; | ||||
|     newContents += `${registryString}${os.EOL}always-auth=true${os.EOL}${authString}`; | ||||
|     newContents += `${registryString}${os.EOL}${authString}`; | ||||
|     fs.writeFileSync(fileLocation, newContents); | ||||
|     core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Danny McCormick
					Danny McCormick