From 7255f6470484774459e84375411e0d95b1711f4e Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Fri, 28 Apr 2023 15:02:17 +0800 Subject: [PATCH] test: ignore pnpm test for node14 (#1919) * Ignore pnpm test for node14 according error message of the actions and https://github.com/pnpm/pnpm/issues/6297 * trigger ci --- test/utils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/utils.js b/test/utils.js index 969744720..f0181e870 100644 --- a/test/utils.js +++ b/test/utils.js @@ -167,8 +167,9 @@ module.exports.filesAfter = function (b, n) { }; module.exports.shouldSkipPnpm = function () { - const REQUIRED_MAJOR_VERSION = 14; - const REQUIRED_MINOR_VERSION = 19; + // pnpm 8 requires at least Node.js v16.14 + const REQUIRED_MAJOR_VERSION = 16; + const REQUIRED_MINOR_VERSION = 14; const MAJOR_VERSION = parseInt(process.version.match(/v([0-9]+)/)[1], 10); const MINOR_VERSION = parseInt(