mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-13 15:41:11 +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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue