From 9e3a4fafb0260261a11772f2e3397b7f36d406fa Mon Sep 17 00:00:00 2001 From: gdjdkid <67935269+gdjdkid@users.noreply.github.com> Date: Fri, 27 Mar 2026 13:37:22 +0800 Subject: [PATCH] fix: remove Node 18 from CI matrix due to undici compatibility issue --- .github/workflows/ci.yml | 3 +-- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9be6f71..2cf62a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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() diff --git a/package-lock.json b/package-lock.json index e3d26d2..bf73335 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index a91bf08..e8ee217 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "javdict", - "version": "1.3.2", + "version": "1.3.3", "description": "AV番号命令行查询工具", "main": "./index.js", "type": "module",