You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also for documentation purposes, here is the ask in customer's words (Peter has already distilled this accurately above):
We've been having a noticeable issue with nodejs.org timing out while trying to download a particular distribution of node. We've historically experienced a similar issue on our legacy (bamboo & jenkins) pipelines - So it's fairly apparently it's not actually an actions issue.
We solved it in legacy by mirroring the nodejs repository in our internal Artifactory instance. We'd like to do this in actions as well, however the actions/setup-node code has nodejs.org hardcoded as the download url: https://github.com/actions/setup-node/blob/main/src/distributions/official_builds/official_builds.ts#L179-L181
We were considering opening a pull request against the action to allow something along the lines of an NODEJS_REPOSITORY_URL override variable to allow a custom mirror. It would also need to be able to present credentials to that registry.
Description:
Add an input named
distribution-url
which would set the URL where the specified nodejs dist is downloaded from.Justification:
Are you willing to submit a PR?
Yes!
The text was updated successfully, but these errors were encountered: