mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-10 22:21:11 +00:00
fix: add found cached toolpath to PATH before executing node
This commit is contained in:
parent
df568f01a8
commit
c4d0bc7f39
2 changed files with 13 additions and 6 deletions
|
@ -225,7 +225,7 @@ describe('setup-node', () => {
|
|||
await main.run();
|
||||
|
||||
expect(logSpy).toHaveBeenCalledWith(
|
||||
`Found v14.0.0 in cache @ ${toolPath} but it does not satisfy the requested version (12.16.2)`
|
||||
`Found v14.0.0 in cache @ ${expPath} but it does not satisfy the requested version (12.16.2)`
|
||||
);
|
||||
expect(logSpy).toHaveBeenCalledWith(
|
||||
`Attempting to download ${versionSpec}...`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue