From a4406d07f22b3f5d3dc13c6263165bd351967e18 Mon Sep 17 00:00:00 2001 From: pieh Date: Tue, 22 Oct 2024 09:34:52 +0200 Subject: [PATCH] ci: use includePrerelease flag for version checks --- tests/utils/next-version-helpers.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/next-version-helpers.mjs b/tests/utils/next-version-helpers.mjs index 8d10d32dd5..52150e4904 100644 --- a/tests/utils/next-version-helpers.mjs +++ b/tests/utils/next-version-helpers.mjs @@ -21,7 +21,7 @@ export function nextVersionSatisfies(condition) { const isSemverVersion = valid(version) const checkVersion = isSemverVersion ? version : FUTURE_NEXT_PATCH_VERSION - return satisfies(checkVersion, condition) || version === condition + return satisfies(checkVersion, condition, { includePrerelease: true }) || version === condition } /**