mirror of
https://github.com/actions/setup-node.git
synced 2025-12-17 10:51:38 +08:00
Clean up from review and add nock for test validation
This commit is contained in:
@@ -14,8 +14,9 @@ async 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
|
||||
await installer.getNode(version, osArch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user