From ca5bfd52de82c96486c7454aece8cff7267bd9c6 Mon Sep 17 00:00:00 2001 From: "A.G" Date: Wed, 6 Nov 2024 13:35:14 +0100 Subject: [PATCH] only support node 20+ --- .github/workflows/npm_test_doc.yml | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm_test_doc.yml b/.github/workflows/npm_test_doc.yml index ea4d034..c44f9c9 100644 --- a/.github/workflows/npm_test_doc.yml +++ b/.github/workflows/npm_test_doc.yml @@ -9,9 +9,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # since last mocha version is compatible for node 12.0.0+ we remove 10.x matrix - # Only LTS major version - node-version: ['12', '14', '16', 'lts/*'] + # Only maintenance and LTS major versions + node-version: ['20', '22', '23', '24', 'lts/*'] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/package.json b/package.json index 0aaabe9..b27499e 100644 --- a/package.json +++ b/package.json @@ -101,6 +101,6 @@ "arrowParens": "avoid" }, "engines": { - "node": ">=12" + "node": ">=20" } }