Skip to content

Commit 70b59aa

Browse files
committed
fix: switch to Node.js 20
Node.js 20 is going to be LTS release in October. See https://github.com/nodejs/release BREAKING CHANGE: this changes the required Node.js version to 20
1 parent aa7697e commit 70b59aa

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/code-style.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-node@v3
2323
with:
24-
node-version: "18.x"
24+
node-version: "20.x"
2525

2626
- name: Keep npm cache around to speed up installs
2727
uses: actions/cache@v3

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- uses: actions/setup-node@v3
2929
with:
30-
node-version: "18.x"
30+
node-version: "20.x"
3131

3232
- name: Keep npm cache around to speed up installs
3333
uses: actions/cache@v3

.github/workflows/test-and-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- uses: actions/setup-node@v3
3333
with:
34-
node-version: "18.x"
34+
node-version: "20.x"
3535

3636
- name: Keep npm cache around to speed up installs
3737
uses: actions/cache@v3
@@ -118,7 +118,7 @@ jobs:
118118

119119
- uses: actions/setup-node@v3
120120
with:
121-
node-version: "18.x"
121+
node-version: "20.x"
122122

123123
- name: Keep npm cache around to speed up installs
124124
uses: actions/cache@v3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
]
9595
},
9696
"engines": {
97-
"node": ">=18",
97+
"node": ">=20",
9898
"npm": ">=9"
9999
},
100100
"release": {

0 commit comments

Comments
 (0)