1
0
mirror of https://github.com/actions/setup-node.git synced 2026-03-23 04:19:06 +08:00

Change node version for action to node20 (#866)

This commit is contained in:
Dmitry Shibanov
2023-10-23 15:20:20 +02:00
committed by GitHub
parent 1a4442cacd
commit 54534a2a9b
74 changed files with 21954 additions and 29738 deletions

View File

@@ -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;