mirror of
https://github.com/actions/setup-node.git
synced 2025-06-29 14:13:49 +00:00
Clean up from review and add nock for test validation
This commit is contained in:
parent
3d0361d465
commit
c08e62dd1d
9 changed files with 137 additions and 8 deletions
|
@ -31,8 +31,8 @@ function run() {
|
|||
if (!version) {
|
||||
version = core.getInput('node-version');
|
||||
}
|
||||
const osArch = core.getInput('node-arch') || os.arch();
|
||||
if (version) {
|
||||
const osArch = core.getInput('node-arch') || os.arch();
|
||||
// TODO: installer doesn't support proxy
|
||||
yield installer.getNode(version, osArch);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue