Release from master

This commit is contained in:
Danny McCormick 2019-08-21 22:58:23 -04:00
parent 5273d0df9c
commit 8de2f9fcbc
34 changed files with 371 additions and 293 deletions

View file

@ -7,12 +7,12 @@ registry=https://registry.npmjs.org/"
exports[`installer tests Automatically configures GPR scope 1`] = `
"npm.pkg.github.com/:_authToken=\${NODE_AUTH_TOKEN}
@owner:registry=npm.pkg.github.com/"
@ownername:registry=npm.pkg.github.com/"
`;
exports[`installer tests Configures scoped npm registries 1`] = `
"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
@myScope:registry=https://registry.npmjs.org/"
@myscope:registry=https://registry.npmjs.org/"
`;
exports[`installer tests Sets up npmrc for npmjs 1`] = `

View file

@ -15,7 +15,7 @@ const tempDir = path.join(
const rcFile = path.join(tempDir, '.npmrc');
process.env['GITHUB_REPOSITORY'] = 'owner/repo';
process.env['GITHUB_REPOSITORY'] = 'OwnerName/repo';
process.env['RUNNER_TEMP'] = tempDir;
import * as auth from '../src/authutil';