Skip to content

Commit f41053e

Browse files
committed
[fix][ci] Fix security vulnerabilities and upgrade CI toolchain
- Fix CVE vulnerabilities in dev dependencies by adding npm overrides for form-data, qs, tough-cookie, and tar - Replace deprecated dtslint with tsc --noEmit for type checking (dtslint is archived and no longer compatible with current TypeScript) - Remove tslint.json (dtslint-specific config no longer needed) - Remove @definitelytyped/utils and dtslint from devDependencies - Upgrade Node.js from 18 to 22 in CI workflows
1 parent 11afc3a commit f41053e

6 files changed

Lines changed: 188 additions & 3062 deletions

File tree

.github/workflows/ci-build-release-napi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- x64
4141
- arm64
4242
nodejs:
43-
- 18
43+
- 22
4444
python:
4545
- "3.10"
4646
include:
@@ -100,7 +100,7 @@ jobs:
100100
- 'linux_glibc'
101101
- 'linux_musl'
102102
nodejs:
103-
- 18
103+
- 22
104104
cpu:
105105
- {arch: 'x86_64', platform: 'x86_64'}
106106
- {arch: 'aarch64', platform: 'arm64'}
@@ -152,7 +152,7 @@ jobs:
152152
- x64
153153
- x86
154154
nodejs:
155-
- 18
155+
- 22
156156
python:
157157
- "3.10"
158158
steps:

.github/workflows/ci-pr-validation.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737

3838
steps:
3939
- uses: actions/checkout@v3
40-
- name: Use Node.js 18
40+
- name: Use Node.js 22
4141
uses: actions/setup-node@v3
4242
with:
43-
node-version: 18
43+
node-version: 22
4444

4545
- name: Use Python ${{ matrix.python }}
4646
uses: actions/setup-python@v3
@@ -61,10 +61,10 @@ jobs:
6161

6262
steps:
6363
- uses: actions/checkout@v3
64-
- name: Use Node.js 18
64+
- name: Use Node.js 22
6565
uses: actions/setup-node@v3
6666
with:
67-
node-version: 18
67+
node-version: 22
6868

6969
- name: Use yarn install
7070
run: |
@@ -82,7 +82,7 @@ jobs:
8282
- x64
8383
- arm64
8484
nodejs:
85-
- 18
85+
- 22
8686
python:
8787
- "3.10"
8888
include:
@@ -136,7 +136,7 @@ jobs:
136136
- 'linux_glibc'
137137
- 'linux_musl'
138138
nodejs:
139-
- 18
139+
- 22
140140
cpu:
141141
- {arch: 'x86_64', platform: 'x86_64'}
142142
- {arch: 'aarch64', platform: 'arm64'}
@@ -197,7 +197,7 @@ jobs:
197197
- x64
198198
- x86
199199
nodejs:
200-
- 18
200+
- 22
201201
python:
202202
- "3.10"
203203
steps:
@@ -261,10 +261,10 @@ jobs:
261261

262262
steps:
263263
- uses: actions/checkout@v3
264-
- name: Use Node.js 18
264+
- name: Use Node.js 22
265265
uses: actions/setup-node@v3
266266
with:
267-
node-version: 18
267+
node-version: 22
268268
cache: 'npm'
269269
- name: Use Python ${{ matrix.python }}
270270
uses: actions/setup-python@v3
@@ -299,10 +299,10 @@ jobs:
299299

300300
steps:
301301
- uses: actions/checkout@v3
302-
- name: Use Node.js 18
302+
- name: Use Node.js 22
303303
uses: actions/setup-node@v3
304304
with:
305-
node-version: 18
305+
node-version: 22
306306
cache: 'npm'
307307

308308
- name: Use Python ${{ matrix.python }}

0 commit comments

Comments
 (0)