mirror of
https://github.com/actions/setup-node.git
synced 2025-12-19 06:47: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
|
|
@ -227,7 +227,6 @@ describe('setup-node', () => {
|
|||
const versionSpec = '11.15.0';
|
||||
|
||||
inputs['node-version'] = versionSpec;
|
||||
inputs['always-auth'] = false;
|
||||
inputs['token'] = 'faketoken';
|
||||
|
||||
// ... but not in the local cache
|
||||
|
|
@ -283,7 +282,6 @@ describe('setup-node', () => {
|
|||
const versionSpec = '19.0.0-v8-canary';
|
||||
|
||||
inputs['node-version'] = versionSpec;
|
||||
inputs['always-auth'] = false;
|
||||
inputs['token'] = 'faketoken';
|
||||
|
||||
findSpy.mockImplementation(() => '');
|
||||
|
|
@ -324,7 +322,6 @@ describe('setup-node', () => {
|
|||
|
||||
inputs['node-version'] = version;
|
||||
inputs['architecture'] = arch;
|
||||
inputs['always-auth'] = false;
|
||||
inputs['token'] = 'faketoken';
|
||||
|
||||
const expectedUrl = `https://nodejs.org/download/v8-canary/v${version}/node-v${version}-${platform}-${arch}.${fileExtension}`;
|
||||
|
|
@ -569,7 +566,6 @@ describe('setup-node', () => {
|
|||
const versionSpec = 'v20-v8-canary';
|
||||
|
||||
inputs['node-version'] = versionSpec;
|
||||
inputs['always-auth'] = false;
|
||||
inputs['token'] = 'faketoken';
|
||||
|
||||
os.platform = 'linux';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue