diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index b06bbda27..581af8ac3 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -382,6 +382,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();