mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-20 22:49:29 +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