Skip to content

Commit 23183ca

Browse files
committed
Update GitHub Actions CI to use Node.js 20.x and 22.x
Drop Node.js 18.x support due to compatibility issues with Vitest 4. The error occurred because: - Vitest 4 with coverage uses node:inspector/promises - This module was introduced in Node.js 19.0.0 - Node.js 18.x doesn't have this module, causing CI failures Updated matrix to use: - Node.js 20.x (current LTS) - Node.js 22.x (latest stable) This ensures compatibility with Vitest 4 and modern tooling.
1 parent 1dc524f commit 23183ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [18.x, 20.x]
16+
node-version: [20.x, 22.x]
1717

1818
steps:
1919
- name: Checkout code

0 commit comments

Comments
 (0)