Skip to content

Commit 14bb543

Browse files
authored
improve: test against node 20 and 22 (#976)
1 parent b2c9d03 commit 14bb543

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/actions/setup/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
node-version:
55
description: Version of Node to use.
66
required: false
7-
default: 18.x
7+
default: 22.x
88
install-deps:
99
description: Should deps be installed?
1010
required: false

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
node: [18, 20]
34+
node: [20, 22]
3535
environment: [jsdom, node]
3636
name: Node ${{ matrix.node }} @env ${{matrix.environment}}
3737
steps:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"@arethetypeswrong/cli": "^0.16.0",
107107
"@pothos/core": "^4.0.0",
108108
"@pothos/plugin-simple-objects": "^4.0.1",
109-
"@tsconfig/node18": "^18.2.4",
109+
"@tsconfig/node20": "^20.1.4",
110110
"@tsconfig/strictest": "^2.0.5",
111111
"@types/body-parser": "^1.19.5",
112112
"@types/express": "^4.17.21",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": [
33
"@tsconfig/strictest/tsconfig.json",
4-
"@tsconfig/node18/tsconfig.json"
4+
"@tsconfig/node20/tsconfig.json"
55
],
66
"compilerOptions": {
77
"lib": ["DOM", "DOM.Iterable", "ES2023"],

0 commit comments

Comments
 (0)