From a732fd0356b650c5ab77d7182031f20f501527eb Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Tue, 3 Sep 2024 10:50:33 -0400 Subject: [PATCH] BREAKING CHANGE: test on node v16+, drop support for Node v14 --- .github/workflows/test.yml | 4 ++-- package.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 22c33a9..a01d803 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - node: [14, 16, 18] + node: [16, 18, 20, 22] os: [ubuntu-20.04] include: - os: ubuntu-20.04 @@ -38,4 +38,4 @@ jobs: sleep 2 mongod --version echo `pwd`/mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo }}/bin >> $GITHUB_PATH - - run: npm test \ No newline at end of file + - run: npm test diff --git a/package.json b/package.json index ea5d6c3..8942e18 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,9 @@ "bugs": { "url": "https://github.com/vkarpov15/mongoose-lean-virtuals/issues" }, + "engines": { + "node": ">=16.20.1" + }, "homepage": "https://github.com/vkarpov15/mongoose-lean-virtuals", "eslintConfig": { "extends": [