Skip to content

Commit

Permalink
internal: Use latest node 22 in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Oct 30, 2024
1 parent 489aaea commit fa8f600
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: '22.4.1'
node-version: '22'
cache: 'yarn'
- name: Install packages
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.4.1'
node-version: '22'
cache: 'yarn'
- name: Install packages
run: |
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Performance compared to normalizr package (higher is better):
| | no cache | with cache |
| ------------------- | -------- | ---------- |
| normalize (long) | 121% | 121% |
| denormalize (long) | 158% | 1,262% |
| denormalize (long) | 158% | 1,262% |
| denormalize (short) | 676% | 2,367% |

[Comparison done on a Ryzen 7950x; Ubuntu; Node 20.10.0]
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": ">=20"
"node": ">=22"
},
"scripts": {
"build": "BROWSERSLIST_ENV=node20 webpack --mode=production --target=node --env readable",
"build": "BROWSERSLIST_ENV=node22 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
4 changes: 2 additions & 2 deletions packages/normalizr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ Available from [@data-client/endpoint](https://www.npmjs.com/package/@data-clien

| | no cache | with cache |
| ------------------- | -------- | ---------- |
| normalize (long) | 119% | 119% |
| denormalize (long) | 158% | 1,262% |
| normalize (long) | 121% | 121% |
| denormalize (long) | 158% | 1,262% |
| denormalize (short) | 676% | 2,367% |

[View benchmark](https://github.com/reactive/data-client/blob/master/examples/benchmark)
Expand Down

0 comments on commit fa8f600

Please sign in to comment.