mirror of
https://github.com/actions/setup-node.git
synced 2025-09-15 22:01:32 +08:00
Updates
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import * as core from '@actions/core';
|
||||
import * as installer from './installer';
|
||||
import * as auth from './authutil';
|
||||
import * as path from 'path';
|
||||
|
||||
async function run() {
|
||||
@@ -14,6 +15,11 @@ async function run() {
|
||||
await installer.getNode(version);
|
||||
}
|
||||
|
||||
const registryUrl = core.getInput('registry-url');
|
||||
if (registryUrl) {
|
||||
auth.configAuth(registryUrl);
|
||||
}
|
||||
|
||||
// TODO: setup proxy from runner proxy config
|
||||
const matchersPath = path.join(__dirname, '..', '.github');
|
||||
console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`);
|
||||
|
Reference in New Issue
Block a user