mirror of
https://github.com/actions/setup-node.git
synced 2025-08-02 16:52:57 +08:00
Try exporting blank token
This commit is contained in:
@@ -44,4 +44,6 @@ function writeRegistryToFile(registryUrl, fileLocation) {
|
||||
newContents += `${registryString}${os.EOL}${authString}`;
|
||||
fs.writeFileSync(fileLocation, newContents);
|
||||
core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
|
||||
// Export empty node_auth_token so npm doesn't complain about not being able to find it
|
||||
core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX');
|
||||
}
|
||||
|
Reference in New Issue
Block a user