Skip to content

Commit 1f33453

Browse files
authored
chore: update node to v20+ (#1203)
node v18 is now EOL Signed-off-by: Todd Baert <[email protected]>
1 parent 2838d6a commit 1f33453

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

.github/workflows/pr-checks.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
strategy:
1717
matrix:
1818
node-version:
19-
- 18.x
2019
- 20.x
2120
- 22.x
21+
- 24.x
2222

2323
steps:
2424
- uses: actions/checkout@v4
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@v4
4848
- uses: actions/setup-node@v4
4949
with:
50-
node-version: 18
50+
node-version: 20
5151
cache: 'npm'
5252

5353
- name: Install
@@ -69,8 +69,7 @@ jobs:
6969
- uses: actions/checkout@v4
7070
- uses: actions/setup-node@v4
7171
with:
72-
# we need 'fetch' for this test, which is only in 18
73-
node-version: 18
72+
node-version: 20
7473
cache: 'npm'
7574

7675
- name: Install

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
"url": "https://github.com/open-feature/js-sdk/issues"
3232
},
3333
"homepage": "https://github.com/open-feature/js-sdk#readme",
34-
"engines": {
35-
"node": ">=18"
36-
},
3734
"devDependencies": {
3835
"@rollup/plugin-typescript": "^12.0.0",
3936
"@testing-library/jest-dom": "^6.4.2",

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
"homepage": "https://github.com/open-feature/js-sdk#readme",
4747
"engines": {
48-
"node": ">=18"
48+
"node": ">=20"
4949
},
5050
"peerDependencies": {
5151
"@openfeature/core": "^1.7.0"

0 commit comments

Comments
 (0)