From 4256ca1cc19d955964629a66782d1444367a7355 Mon Sep 17 00:00:00 2001 From: coliff Date: Wed, 30 Apr 2025 21:07:06 +0900 Subject: [PATCH] Update Node Versions Supported (18.20.22) Fixes: #1528 --- .github/dependabot.yml | 2 -- .github/workflows/development.yml | 11 +++++------ .github/workflows/production.yml | 11 +++++------ .nvmrc | 2 +- package-lock.json | 2 +- package.json | 4 ++-- 6 files changed, 14 insertions(+), 18 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5b5dc62d5..132b9408d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,6 @@ updates: schedule: interval: monthly versioning-strategy: increase - open-pull-requests-limit: 99 groups: dependencies: applies-to: version-updates @@ -19,7 +18,6 @@ updates: schedule: interval: monthly versioning-strategy: increase - open-pull-requests-limit: 99 groups: dependencies: applies-to: version-updates diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 55aae46cb..043e09f1c 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -35,11 +35,10 @@ jobs: fail-fast: false matrix: node: - - 18 - 20 - 22 - - 23 - os: [ubuntu-latest, macos-latest, windows-latest] + - 24 + os: [ubuntu-latest, windows-latest] steps: - name: 🛑 Cancel Previous Runs @@ -66,7 +65,7 @@ jobs: run: git diff --exit-code - name: Run tests - if: matrix.node != '18' || matrix.os != 'ubuntu-latest' + if: matrix.os != 'ubuntu-latest' uses: nick-invision/retry@v3 with: timeout_minutes: 20 @@ -74,7 +73,7 @@ jobs: command: npm run test - name: Run coverage - if: matrix.node == '18' && matrix.os == 'ubuntu-latest' + if: matrix.node == '20' && matrix.os == 'ubuntu-latest' uses: nick-invision/retry@v3 with: timeout_minutes: 20 @@ -82,7 +81,7 @@ jobs: command: npm run test:coverage - name: ⬆️ Upload coverage to Codecov - if: matrix.node == '18' && matrix.os == 'ubuntu-latest' + if: matrix.node == '20' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v5 with: files: ./coverage/coverage-final.json diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 1503d02b2..965e5b2a9 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -35,11 +35,10 @@ jobs: fail-fast: false matrix: node: - - 18 - 20 - 22 - - 23 - os: [ubuntu-latest, macos-latest, windows-latest] + - 24 + os: [ubuntu-latest, windows-latest] steps: - name: 🛑 Cancel Previous Runs @@ -66,7 +65,7 @@ jobs: run: git diff --exit-code - name: Run tests - if: matrix.node != '18' || matrix.os != 'ubuntu-latest' + if: matrix.os != 'ubuntu-latest' uses: nick-invision/retry@v3 with: timeout_minutes: 20 @@ -74,7 +73,7 @@ jobs: command: npm run test - name: Run coverage - if: matrix.node == '18' && matrix.os == 'ubuntu-latest' + if: matrix.node == '20' && matrix.os == 'ubuntu-latest' uses: nick-invision/retry@v3 with: timeout_minutes: 20 @@ -82,7 +81,7 @@ jobs: command: npm run test:coverage - name: ⬆️ Upload coverage to Codecov - if: matrix.node == '18' && matrix.os == 'ubuntu-latest' + if: matrix.node == '20' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v5 with: files: ./coverage/coverage-final.json diff --git a/.nvmrc b/.nvmrc index 3f430af82..9a2a0e219 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20 diff --git a/package-lock.json b/package-lock.json index fbf981968..ea35344e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ "typescript": "^4.5.2" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 08618e470..e90d55508 100644 --- a/package.json +++ b/package.json @@ -93,9 +93,9 @@ "typescript": "^4.5.2" }, "engines": { - "node": ">=18" + "node": ">=20" }, "volta": { - "node": "18.20.8" + "node": "20.19.1" } }