Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Ignore pnpm test for node14 #1919

Merged
merged 2 commits into from
Apr 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
robertsLando marked this conversation as resolved.
Show resolved Hide resolved
const REQUIRED_MINOR_VERSION = 14;

const MAJOR_VERSION = parseInt(process.version.match(/v([0-9]+)/)[1], 10);
const MINOR_VERSION = parseInt(
Expand Down