mirror of
https://github.com/actions/setup-node.git
synced 2025-04-19 11:06:48 +00:00
14 lines
351 B
TypeScript
14 lines
351 B
TypeScript
import BaseDistribution from '../base-distribution';
|
|
import {NodeInputs} from '../base-models';
|
|
|
|
export default class RcBuild extends BaseDistribution {
|
|
constructor(nodeInfo: NodeInputs) {
|
|
super(nodeInfo);
|
|
}
|
|
|
|
getDistributionUrl(mirror: string): string {
|
|
const url = mirror || 'https://nodejs.org';
|
|
return `${url}/download/rc`;
|
|
}
|
|
}
|