add support for arm64 Windows

This commit is contained in:
Dmitry Shibanov 2023-12-20 16:52:29 +01:00
parent b39b52d121
commit 026d4a4820
6 changed files with 63 additions and 14 deletions

View file

@ -248,6 +248,9 @@ describe('setup-node', () => {
const toolPath = path.normalize('/cache/node/12.16.2/x64');
exSpy.mockImplementation(async () => '/some/other/temp/path');
cacheSpy.mockImplementation(async () => toolPath);
whichSpy.mockImplementation(cmd => {
return `some/${cmd}/path`;
});
await main.run();