mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-28 15:33:47 +00:00
feat: 优化 Gist 同步诊断信息并更新 Node/Mocha 依赖策略
- 新增 `.node-version`(26.1.0)并在 GitHub Action 中改为按文件读取 Node 版本 - backend 版本号提升到 2.22.27,Mocha 升级到 ^11.7.5 并同步更新 lockfile - 重构 Gist 错误信息提取逻辑,统一返回 `ERROR: HTTP 状态码: 消息`,便于定位 API 问题 - Gist 同步前补充上传摘要日志(文件数、总大小、最大文件),同步失败时输出失败上下文 - 同步异常日志改为输出完整错误栈,便于排查 - 同步到 Gist 的失败场景与新增日志行为补充单测覆盖
This commit is contained in:
9 files changed
+342
-107
No files matched your search
@@ -22,10 +22,10 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "20"
|
||||
node-version-file: ".node-version"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm install -g pnpm
|
||||
corepack enable
|
||||
cd backend && pnpm i --no-frozen-lockfile
|
||||
- name: Sync latest mihomo version
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user