From c08eef02b381dd5dd5382b4d7f9f8d45856660ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e?= Date: Thu, 9 Nov 2023 07:30:59 +0100 Subject: [PATCH] update node.js and mongodb versions (#589) * ci: update matrix * update minimum node.js version --- .github/workflows/ci.yml | 10 ++++------ package.json | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59bd8245..c6d82727 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,13 +35,11 @@ jobs: name: Tests strategy: matrix: - node-version: ['16.x', '18.x', '20.x'] - mongo-version: ['5.0', '6.0'] + node-version: ['18.x', '20.x'] + mongo-version: ['6.0', '7.0'] include: - node-version: 'lts/*' - mongo-version: '4.2' - - node-version: 'lts/*' - mongo-version: '4.4' + mongo-version: '5.0' runs-on: ubuntu-latest services: redis: @@ -65,7 +63,7 @@ jobs: REDIS_URL: '127.0.0.1:6379' MONGODB_HOST: '127.0.0.1:27017' - name: Submit coverage - if: matrix.node-version == '20.x' && matrix.mongo-version == '6.0' + if: matrix.node-version == '20.x' && matrix.mongo-version == '7.0' uses: coverallsapp/github-action@v2.2.3 with: github-token: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 379972cf..2d0a2b8e 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "u-wave-core": "bin/u-wave-core.js" }, "engines": { - "node": ">= 16.20.0" + "node": ">= 18.18.0" }, "dependencies": { "@twurple/api": "^7.0.0",