mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-25 23:16:06 +00:00
add support for arm64 Windows
This commit is contained in:
parent
b39b52d121
commit
026d4a4820
6 changed files with 63 additions and 14 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue