mirror of
https://github.com/actions/setup-node.git
synced 2025-07-23 15:08:24 +02:00
Add support for node version codename
Refactored for optimization and maintainability
This commit is contained in:
parent
7a3ce83626
commit
62a25ae2c2
10 changed files with 507 additions and 401 deletions
|
@ -7,11 +7,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||
return result;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const core = __importStar(require("@actions/core"));
|
||||
const github = __importStar(require("@actions/github"));
|
||||
const fs = __importStar(require("fs"));
|
||||
const os = __importStar(require("os"));
|
||||
const path = __importStar(require("path"));
|
||||
const core = __importStar(require("@actions/core"));
|
||||
const github = __importStar(require("@actions/github"));
|
||||
function configAuthentication(registryUrl, alwaysAuth) {
|
||||
const npmrc = path.resolve(process.env['RUNNER_TEMP'] || process.cwd(), '.npmrc');
|
||||
if (!registryUrl.endsWith('/')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue