mirror of
https://github.com/actions/setup-node.git
synced 2025-12-18 22:37:08 +00:00
Remove always-auth configuration handling from setup-node
This commit is contained in:
parent
dda4788290
commit
e57af378aa
11 changed files with 31 additions and 84 deletions
|
|
@ -194,7 +194,6 @@ describe('setup-node', () => {
|
|||
const versionSpec = '13.0.0-rc.0';
|
||||
|
||||
inputs['node-version'] = versionSpec;
|
||||
inputs['always-auth'] = false;
|
||||
inputs['token'] = 'faketoken';
|
||||
|
||||
// ... but not in the local cache
|
||||
|
|
@ -239,7 +238,6 @@ describe('setup-node', () => {
|
|||
const versionSpec = '14.7.0-rc.1';
|
||||
|
||||
inputs['node-version'] = versionSpec;
|
||||
inputs['always-auth'] = false;
|
||||
inputs['token'] = 'faketoken';
|
||||
|
||||
findSpy.mockImplementation(() => '');
|
||||
|
|
@ -268,7 +266,6 @@ describe('setup-node', () => {
|
|||
|
||||
inputs['node-version'] = version;
|
||||
inputs['architecture'] = arch;
|
||||
inputs['always-auth'] = false;
|
||||
inputs['token'] = 'faketoken';
|
||||
|
||||
const expectedUrl = `https://nodejs.org/download/rc/v${version}/node-v${version}-${platform}-${arch}.${fileExtension}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue