Skip to content

Commit 11929f2

Browse files
authored
ci: Use Node 22 (#1222)
Bumps the Node version used in GitHub Actions from 18 to 22. I've also updated `@types/node` for consistency, and it was necessary to update `eslint-plugin-jsdoc` to a Node 22-compatible version. No lint errors are introduced by this change. The scope of this work is only to move away from Node 18 in our CI pipelines. It does not alter the Node versions currently supported by Lambda Wrapper. Jira: [ENG-4024] [ENG-4024]: https://comicrelief.atlassian.net/browse/ENG-4024
1 parent b4073ff commit 11929f2

3 files changed

Lines changed: 188 additions & 48 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 18
15+
node-version: 22
1616

1717
- name: Restore cache
1818
uses: actions/cache@v4
@@ -35,7 +35,7 @@ jobs:
3535

3636
- uses: actions/setup-node@v4
3737
with:
38-
node-version: 18
38+
node-version: 22
3939

4040
- name: Restore cache
4141
uses: actions/cache@v4
@@ -58,7 +58,7 @@ jobs:
5858

5959
- uses: actions/setup-node@v4
6060
with:
61-
node-version: 18
61+
node-version: 22
6262

6363
- name: Restore cache
6464
uses: actions/cache@v4
@@ -81,7 +81,7 @@ jobs:
8181

8282
- uses: actions/setup-node@v4
8383
with:
84-
node-version: 18
84+
node-version: 22
8585

8686
- name: Restore cache
8787
uses: actions/cache@v4

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"@istanbuljs/nyc-config-typescript": "^1.0.2",
2727
"@types/async": "^3.2.24",
2828
"@types/jest": "^29.5.12",
29-
"@types/node": "14",
29+
"@types/node": "22",
3030
"@types/useragent": "^2.3.4",
3131
"@types/uuid": "^9.0.8",
3232
"@types/xml2js": "^0.4.14",
3333
"@typescript-eslint/eslint-plugin": "^5.33.0",
3434
"@typescript-eslint/parser": "^5.33.0",
3535
"eslint": "^8.57.0",
3636
"eslint-plugin-import": "^2.25.2",
37-
"eslint-plugin-jsdoc": "^39.3.2",
37+
"eslint-plugin-jsdoc": "^62.7.1",
3838
"expect-type": "^0.18.0",
3939
"jest": "^29.7.0",
4040
"nyc": "^15.1.0",

0 commit comments

Comments
 (0)