mirror of
https://kkgithub.com/actions/setup-node.git
synced 2025-11-06 13:51:51 +08:00
Change node version for action to node20 (#866)
This commit is contained in:
@ -153,7 +153,7 @@ export default abstract class BaseDistribution {
|
||||
}
|
||||
|
||||
protected validRange(versionSpec: string) {
|
||||
let options: semver.Options | undefined;
|
||||
let options: semver.RangeOptions | undefined;
|
||||
const c = semver.clean(versionSpec) || '';
|
||||
const valid = semver.valid(c) ?? versionSpec;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user