Skip to content

Commit d96c63d

Browse files
committed
chore: switch to node 20 for development & CI
1 parent cd2452e commit d96c63d

File tree

5 files changed

+19
-7
lines changed

5 files changed

+19
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
node-version: [18.x]
21+
node-version: [18, 20]
2222
steps:
2323
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
2424
- name: Setup node
@@ -31,7 +31,7 @@ jobs:
3131
- name: Unittesting
3232
run: yarn test
3333
- name: Linting
34-
if: ${{ matrix.node-version == '18.x' }}
34+
if: ${{ matrix.node-version == '18' }}
3535
run: yarn lint
3636
- name: Coverage
3737
run: yarn coverage

.github/workflows/size-limit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
node-version: [18.x]
19+
node-version: [20]
2020
steps:
2121
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
2222
- name: Setup node

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"@size-limit/file": "11.0.2",
8585
"@types/hash-sum": "1.0.2",
8686
"@types/lodash.mergewith": "4.6.9",
87-
"@types/node": "18.19.15",
87+
"@types/node": "20.16.1",
8888
"@types/request-promise-native": "1.0.21",
8989
"codecov": "3.8.3",
9090
"eslint": "8.56.0",

yarn.lock

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,13 +2650,20 @@
26502650
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690"
26512651
integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==
26522652

2653-
"@types/node@*", "@types/[email protected]":
2653+
"@types/node@*":
26542654
version "18.19.15"
26552655
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.15.tgz#313a9d75435669a57fc28dc8694e7f4c4319f419"
26562656
integrity sha512-AMZ2UWx+woHNfM11PyAEQmfSxi05jm9OlkxczuHeEqmvwPkYj6MWv44gbzDPefYOLysTOFyI3ziiy2ONmUZfpA==
26572657
dependencies:
26582658
undici-types "~5.26.4"
26592659

2660+
2661+
version "20.16.1"
2662+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.16.1.tgz#0b44b15271d0e2191ca68faf1fbe506e06aed732"
2663+
integrity sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==
2664+
dependencies:
2665+
undici-types "~6.19.2"
2666+
26602667
"@types/node@^16":
26612668
version "16.18.79"
26622669
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.79.tgz#153e25561b271cf87dc1b28d38f98cebd514d788"
@@ -12495,6 +12502,11 @@ undici-types@~5.26.4:
1249512502
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
1249612503
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
1249712504

12505+
undici-types@~6.19.2:
12506+
version "6.19.8"
12507+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
12508+
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
12509+
1249812510
unfetch@^5.0.0:
1249912511
version "5.0.0"
1250012512
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-5.0.0.tgz#8a5b6e5779ebe4dde0049f7d7a81d4a1af99d142"
@@ -12777,7 +12789,7 @@ [email protected]:
1277712789
picocolors "^1.0.0"
1277812790
vite "^5.0.0"
1277912791

12780-
vite@^5.0.0, vite@^5.1.0-beta.6:
12792+
vite@^5.0.0:
1278112793
version "5.1.1"
1278212794
resolved "https://registry.yarnpkg.com/vite/-/vite-5.1.1.tgz#294e39b199d669981efc7e0261b14f78ec80819e"
1278312795
integrity sha512-wclpAgY3F1tR7t9LL5CcHC41YPkQIpKUGeIuT8MdNwNZr6OqOTLs7JX5vIHAtzqLWXts0T+GDrh9pN2arneKqg==

0 commit comments

Comments
 (0)