Skip to content

Commit

Permalink
test: ignore pnpm test for node14 (vercel#1919)
Browse files Browse the repository at this point in the history
* Ignore pnpm test for node14

according error message of the actions and pnpm/pnpm#6297

* trigger ci
  • Loading branch information
emmansun authored Apr 28, 2023
1 parent c353cc9 commit 7255f64
Showing 1 changed file with 3 additions and 2 deletions.
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;
const REQUIRED_MINOR_VERSION = 14;

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

0 comments on commit 7255f64

Please sign in to comment.