Skip to content

Commit

Permalink
internal: Use node 20 for benchmark (#2933)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker authored Jan 20, 2024
1 parent 4921ff5 commit d9cd9d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'yarn'
- name: Install packages
run: |
Expand Down
4 changes: 2 additions & 2 deletions examples/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"private": true,
"type": "module",
"engines": {
"node": ">=18"
"node": ">=20"
},
"scripts": {
"build": "BROWSERSLIST_ENV=node18 webpack --mode=production --target=node --env readable",
"build": "BROWSERSLIST_ENV=node20 webpack --mode=production --target=node --env readable",
"start": "NODE_ENV=production node --allow-natives-syntax ./index.js",
"start:trace": "yarn run start --trace_opt --trace_deopt",
"start:deopt": "NODE_ENV=production npx dexnode --out v8.log --redirect-code-traces-to=/tmp/codetrace --allow-natives-syntax ./index.js"
Expand Down

0 comments on commit d9cd9d1

Please sign in to comment.