Skip to content

Commit

Permalink
improve: test against node 20 and 22 (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt authored Jul 11, 2024
1 parent b2c9d03 commit 14bb543
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node-version:
description: Version of Node to use.
required: false
default: 18.x
default: 22.x
install-deps:
description: Should deps be installed?
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
node: [20, 22]
environment: [jsdom, node]
name: Node ${{ matrix.node }} @env ${{matrix.environment}}
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"@arethetypeswrong/cli": "^0.16.0",
"@pothos/core": "^4.0.0",
"@pothos/plugin-simple-objects": "^4.0.1",
"@tsconfig/node18": "^18.2.4",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/strictest": "^2.0.5",
"@types/body-parser": "^1.19.5",
"@types/express": "^4.17.21",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": [
"@tsconfig/strictest/tsconfig.json",
"@tsconfig/node18/tsconfig.json"
"@tsconfig/node20/tsconfig.json"
],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2023"],
Expand Down

0 comments on commit 14bb543

Please sign in to comment.