fix: remove Node 18 from CI matrix due to undici compatibility issue
This commit is contained in:
1 parent
ee551146ca
commit
9e3a4fafb0
3 files changed
+4
-5
No files matched your search
@@ -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()
|
||||
|
||||
Generated
+2
-2
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "javdict",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"description": "AV番号命令行查询工具",
|
||||
"main": "./index.js",
|
||||
"type": "module",
|
||||
|
||||
Reference in new issue
Block a user