fix(ci): 修复npm test脚本导致CI中断

test脚本末尾 'exit 0' 在CI调用 'npm test -- --runInBand' 时
变成 'exit 0 --runInBand' 报错退出码1,导致workflow在测试步骤
失败,后续上传步骤不执行。去掉多余的 exit 0。
This commit is contained in:
gouki
2026-08-07 23:24:00 +00:00
parent 083058692a
commit 9c10257fe6
+1 -1
View File
@@ -4,7 +4,7 @@
"description": "祈福小助手 - 万年历微信小程序", "description": "祈福小助手 - 万年历微信小程序",
"private": true, "private": true,
"scripts": { "scripts": {
"test": "echo \"No tests yet\" && exit 0", "test": "echo \"No tests yet\"",
"upload": "node ci/upload-ci.cjs", "upload": "node ci/upload-ci.cjs",
"preview": "node ci/preview-ci.cjs" "preview": "node ci/preview-ci.cjs"
}, },