From 72ffdcd7f5b902e95a65feac73224691f4626ae5 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Fri, 19 May 2023 08:54:42 +0530 Subject: [PATCH] ci: run tests on Node.js v20 (#60) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: run tests on Node.js v20 * fix: esmock v2.2.3 --------- Co-authored-by: 唯然 --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 760a68df..e653ec15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [19.x, 18.x, 17.x, 16.x, 14.x, 12.x, "12.22.0"] + node: [20.x, 19.x, 18.x, 17.x, 16.x, 14.x, 12.x, "12.22.0"] include: - os: windows-latest node: "16.x" diff --git a/package.json b/package.json index 8e7f5aec..601ae5ff 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "eslint-plugin-jsdoc": "^37.0.3", "eslint-plugin-node": "^11.1.0", "eslint-release": "^3.2.0", - "esmock": "^1.8.8", + "esmock": "^2.2.3", "espree": "^9.0.0", "lint-staged": "^12.1.2", "memfs": "^3.4.0",