feat: support private mirrors

This commit is contained in:
Marco Ippolito 2025-03-06 10:52:23 +01:00
parent 40337cb8f7
commit 8f2ef77ada
No known key found for this signature in database
GPG key ID: 27F5E38D5B0A215F
14 changed files with 281 additions and 42 deletions

View file

@ -76,6 +76,21 @@ See [action.yml](action.yml)
# Set always-auth option in npmrc file.
# Default: ''
always-auth: ''
# Optional mirror to download binaries from.
# Artifacts need to match the official Node.js
# Example:
# V8 Canaray Build: <mirror_url>/download/v8-canary
# RC Build: <mirror_url>/download/rc
# Official: Build <mirror_url>/dist
# Nightly build: <mirror_url>/download/nightly
# Default: ''
mirror: ''
# Optional mirror token.
# The token will be used as a bearer token in the Authorization header
# Default: ''
mirror-token: ''
```
<!-- end usage -->