fix: remove Node 18 from CI matrix due to undici compatibility issue

This commit is contained in:
gdjdkid committed 2026-03-27 13:37:22 +08:00
1 parent ee551146ca
commit 9e3a4fafb0
3 files changed
+4 -5

No files matched your search

+1 -2
View File
@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x] # ← 只保留 20 和 22,放弃 18
steps:
- name: Checkout code
@@ -29,7 +29,6 @@ jobs:
- name: Run tests
run: npm test
continue-on-error: ${{ matrix.node-version == '18.x' }} # 只在 18.x 允许失败
- name: Show detailed test output
if: always()
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "javdict",
"version": "1.3.2",
"version": "1.3.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "javdict",
"version": "1.3.2",
"version": "1.3.3",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "javdict",
"version": "1.3.2",
"version": "1.3.3",
"description": "AV番号命令行查询工具",
"main": "./index.js",
"type": "module",