Skip to content

Commit

Permalink
chore(node): update to LTS v22 (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranet authored Nov 2, 2024
1 parent 54aae5d commit bcfe02e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 39 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@v4
- name: Add problem matchers
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v20
- name: Use Node.js v22
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: yarn
- name: Install Dependencies
run: yarn --immutable
Expand All @@ -33,10 +33,10 @@ jobs:
uses: actions/checkout@v4
- name: Add problem matchers
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v20
- name: Use Node.js v22
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: yarn
- name: Install Dependencies
run: yarn --immutable
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Base Stage #
# ================ #

FROM node:20-alpine AS base
FROM node:22-alpine AS base

WORKDIR /usr/src/app

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^5.0.1",
"@types/he": "^1.2.3",
"@types/node": "^20.17.1",
"@types/node": "^22.8.6",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"cz-conventional-changelog": "^3.3.0",
Expand All @@ -67,7 +67,7 @@
"minimist": "^1.2.8"
},
"engines": {
"node": ">=18.0.0"
"node": ">=22.11.0"
},
"commitlint": {
"extends": [
Expand All @@ -89,6 +89,6 @@
},
"packageManager": "yarn@4.5.1",
"volta": {
"node": "20.18.0"
"node": "22.11.0"
}
}
42 changes: 11 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ __metadata:
"@skyra/shared-http-pieces": "npm:^1.2.2"
"@skyra/start-banner": "npm:^2.0.1"
"@types/he": "npm:^1.2.3"
"@types/node": "npm:^20.17.1"
"@types/node": "npm:^22.8.6"
"@typescript-eslint/eslint-plugin": "npm:^7.13.1"
"@typescript-eslint/parser": "npm:^7.13.1"
cz-conventional-changelog: "npm:^3.3.0"
Expand Down Expand Up @@ -854,12 +854,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:^20.17.1":
version: 20.17.1
resolution: "@types/node@npm:20.17.1"
"@types/node@npm:*, @types/node@npm:^22.8.6":
version: 22.8.6
resolution: "@types/node@npm:22.8.6"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10/d1f4cd7158df97167953031f7245af3203f52b5f4965c175253b96489c7c55e4c2d4c8a697bb34211bfb99b8824cfcf6287e16cabdac6184a99eedcb26fdd432
undici-types: "npm:~6.19.8"
checksum: 10/27bb73f033eeec05b4ed52dbc521cac28fb7ac14af267119c9bae0318c97848cd790ac7f0a65924ace7ea717eae62e91bd227da4bd6c0217d0016a7a6cd0a156
languageName: node
linkType: hard

Expand Down Expand Up @@ -2970,15 +2970,6 @@ __metadata:
languageName: node
linkType: hard

"lru-cache@npm:^6.0.0":
version: 6.0.0
resolution: "lru-cache@npm:6.0.0"
dependencies:
yallist: "npm:^4.0.0"
checksum: 10/fc1fe2ee205f7c8855fa0f34c1ab0bcf14b6229e35579ec1fd1079f31d6fc8ef8eb6fd17f2f4d99788d7e339f50e047555551ebd5e434dda503696e7c6591825
languageName: node
linkType: hard

"magic-bytes.js@npm:^1.5.0":
version: 1.7.0
resolution: "magic-bytes.js@npm:1.7.0"
Expand Down Expand Up @@ -3691,7 +3682,7 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:^7.3.5":
"semver@npm:^7.3.5, semver@npm:^7.6.0":
version: 7.6.3
resolution: "semver@npm:7.6.3"
bin:
Expand All @@ -3700,17 +3691,6 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:^7.6.0":
version: 7.6.0
resolution: "semver@npm:7.6.0"
dependencies:
lru-cache: "npm:^6.0.0"
bin:
semver: bin/semver.js
checksum: 10/1b41018df2d8aca5a1db4729985e8e20428c650daea60fcd16e926e9383217d00f574fab92d79612771884a98d2ee2a1973f49d630829a8d54d6570defe62535
languageName: node
linkType: hard

"shebang-command@npm:^2.0.0":
version: 2.0.0
resolution: "shebang-command@npm:2.0.0"
Expand Down Expand Up @@ -4081,10 +4061,10 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~6.19.2":
version: 6.19.6
resolution: "undici-types@npm:6.19.6"
checksum: 10/0ea9bc25762a86597d095b3772f6cec0bcabb796c339f7dfa2bd601c745a480289eb2939848dc285a56d4f94f50c475868160d8d6d3f54e823f1faf7ea9e9468
"undici-types@npm:~6.19.8":
version: 6.19.8
resolution: "undici-types@npm:6.19.8"
checksum: 10/cf0b48ed4fc99baf56584afa91aaffa5010c268b8842f62e02f752df209e3dea138b372a60a963b3b2576ed932f32329ce7ddb9cb5f27a6c83040d8cd74b7a70
languageName: node
linkType: hard

Expand Down

0 comments on commit bcfe02e

Please # to comment.