mirror of
https://github.com/actions/setup-node
synced 2026-07-18 12:24:28 +02:00
* Migrate to ESM * updated package.json version * Update README for v6 and clean up dev dependencies * Remove unused ts-node * fix audit issue --------- Co-authored-by: gowridurgad <gowridurgad@gmail.com>
14 lines
357 B
TypeScript
14 lines
357 B
TypeScript
import BaseDistribution from '../base-distribution.js';
|
|
import {NodeInputs} from '../base-models.js';
|
|
|
|
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`;
|
|
}
|
|
}
|