mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 03:28:42 +00:00
add more stuf to test
This commit is contained in:
parent
ba32845a5f
commit
7dfb5c0298
1 changed files with 4 additions and 0 deletions
|
@ -397,6 +397,10 @@ describe('setup-node', () => {
|
|||
}, 100000);
|
||||
|
||||
it('enables corepack if specified', async () => {
|
||||
os.platform = 'linux';
|
||||
os.arch = 'x64';
|
||||
|
||||
inputs['node-version'] = '12';
|
||||
inputs['corepack'] = 'true';
|
||||
|
||||
await main.run();
|
||||
|
|
Loading…
Add table
Reference in a new issue