Added mirror option to select alternative download source

no issue
This commit is contained in:
Daniel Lockyer 2020-04-06 17:14:56 +01:00
parent 83c9f7a7df
commit 905173b259
4 changed files with 49 additions and 32 deletions

View file

@ -8,6 +8,9 @@ inputs:
node-version:
description: 'Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0'
default: '10.x'
mirror:
description: 'Optional mirror to download binaries from'
default: 'https://nodejs.org/dist/'
registry-url:
description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN'
scope: