Skip to content

chore: Update Node Versions Supported (20, 22, 24) #1530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 5 additions & 6 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
@@ -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,23 +65,23 @@ 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
max_attempts: 3
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
max_attempts: 3
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
11 changes: 5 additions & 6 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -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,23 +65,23 @@ 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
max_attempts: 3
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
max_attempts: 3
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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -93,9 +93,9 @@
"typescript": "^4.5.2"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"volta": {
"node": "18.20.8"
"node": "20.19.1"
}
}