Skip to content

Commit

Permalink
Merge pull request #233 from forcedotcom/node
Browse files Browse the repository at this point in the history
chore: upgrade to node >=20
  • Loading branch information
maliroteh-sf authored Nov 4, 2024
2 parents 8337ca3 + 2dafcfc commit 372abb6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20 ]
node: [ 20 ]
name: Linting on Ubuntu with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20 ]
node: [ 20 ]
name: Prettier on Ubuntu with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20 ]
node: [ 20, 22 ]
name: Tests on Ubuntu with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
node: [ 18, 20 ]
node: [ 20, 22 ]
name: Tests on Windows with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@
"typescript": "^5.5.4"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"volta": {
"node": "20.18.0",
"yarn": "1.22.22"
},
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit 372abb6

Please sign in to comment.