mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-17 09:11:11 +00:00
Updates
This commit is contained in:
parent
9bb7038a07
commit
2b9c956517
6 changed files with 113 additions and 0 deletions
|
@ -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')}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue