Skip to content

Commit

Permalink
Update NodeJS to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
queicherius committed Jan 6, 2024
1 parent 6b6b72d commit 7294974
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
uses: actions/checkout@v4

- name: 'Setup Node.JS'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.17'
node-version: '20.10'

- name: 'Cache dependencies'
uses: buildjet/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build({
format: 'cjs',
bundle: true,
sourcemap: true,
target: 'node18.17',
target: 'node20.10',
}).catch(() => process.exit(1))

// Output the es modules files
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/benchmark": "2.1.5",
"@types/jest": "29.5.11",
"@types/lodash": "4.14.202",
"@types/node": "18.18.8",
"@types/node": "20.10.6",
"@types/pako": "2.0.3",
"benchmark": "2.1.4",
"esbuild": "0.19.11",
Expand All @@ -52,6 +52,6 @@
"access": "public"
},
"volta": {
"node": "18.18.2"
"node": "20.10.0"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"incremental": true,

// Type-Checking Options
"lib": ["es2022", "dom"],
"lib": ["es2023", "dom"],
"strict": true,
"skipLibCheck": true,
"strictPropertyInitialization": false,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1264,10 +1264,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.0.0.tgz#067a6c49dc7a5c2412a505628e26902ae967bf6f"
integrity sha512-TmCW5HoZ2o2/z2EYi109jLqIaPIi9y/lc2LmDCWzuCi35bcaQ+OtUh6nwBiFK7SOu25FAU5+YKdqFZUwtqGSdg==

"@types/node@18.18.8":
version "18.18.8"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.8.tgz#2b285361f2357c8c8578ec86b5d097c7f464cfd6"
integrity sha512-OLGBaaK5V3VRBS1bAkMVP2/W9B+H8meUfl866OrMNQqt7wDgdpWPp5o6gmIc9pB+lIQHSq4ZL8ypeH1vPxcPaQ==
"@types/node@20.10.6":
version "20.10.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.6.tgz#a3ec84c22965802bf763da55b2394424f22bfbb5"
integrity sha512-Vac8H+NlRNNlAmDfGUP7b5h/KA+AtWIzuXy0E6OyP8f1tCLYAtPvKRRDJjAPqhpCb0t6U2j7/xqAuLEebW2kiw==
dependencies:
undici-types "~5.26.4"

Expand Down

0 comments on commit 7294974

Please sign in to comment.