File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 3737 uses : actions/cache@v4
3838 with :
3939 path : node_modules
40- key : npm-node-${{ hashFiles('package.json') }}
40+ key : npm-node-${{ hashFiles('package-lock .json') }}
4141 restore-keys : |
4242 npm-node-
4343
5252
5353 # 2. 解析依赖版本(只需一次)
5454 resolve_uast_versions :
55- needs : [ get_version_and_validate,run_tests]
55+ needs : get_version_and_validate
5656 runs-on : ubuntu-latest
5757 outputs :
5858 spec_version : ${{ steps.uast.outputs.spec_version }}
9090
9191 # 3. 构建多平台二进制(不再重复提取版本)
9292 build_engine :
93- needs : [get_version_and_validate, resolve_uast_versions,run_tests ]
93+ needs : [get_version_and_validate, resolve_uast_versions]
9494 strategy :
9595 matrix :
9696 platform :
@@ -133,7 +133,10 @@ jobs:
133133 echo "🧪 Running TypeScript type check (no emit)..."
134134 npx tsc --noEmit --pretty
135135 echo "✅ TypeScript 类型检查通过,无编译错误"
136-
136+ - name : 🧪 Run All Tests
137+ run : |
138+ npm run test-all
139+ echo "✅完成所有测试"
137140 - name : Compile TypeScript with tsc
138141 run : |
139142 echo "🛠️ Compiling TypeScript..."
You can’t perform that action at this time.
0 commit comments