mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-19 05:59:07 +08:00
Add support for v8-canary, nightly and rc (#655)
This commit is contained in:
13
src/distributions/v8-canary/canary_builds.ts
Normal file
13
src/distributions/v8-canary/canary_builds.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import BasePrereleaseNodejs from '../base-distribution-prerelease';
|
||||
import {NodeInputs} from '../base-models';
|
||||
|
||||
export default class CanaryBuild extends BasePrereleaseNodejs {
|
||||
protected distribution = 'v8-canary';
|
||||
constructor(nodeInfo: NodeInputs) {
|
||||
super(nodeInfo);
|
||||
}
|
||||
|
||||
protected getDistributionUrl(): string {
|
||||
return 'https://nodejs.org/download/v8-canary';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user