fix(ci): 修复npm test脚本导致CI中断
test脚本末尾 'exit 0' 在CI调用 'npm test -- --runInBand' 时 变成 'exit 0 --runInBand' 报错退出码1,导致workflow在测试步骤 失败,后续上传步骤不执行。去掉多余的 exit 0。
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
"description": "祈福小助手 - 万年历微信小程序",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "echo \"No tests yet\" && exit 0",
|
||||
"test": "echo \"No tests yet\"",
|
||||
"upload": "node ci/upload-ci.cjs",
|
||||
"preview": "node ci/preview-ci.cjs"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user