dev-manager-tauri/.gitea/workflows/pr-check.yml
lanrtop a1a4748c58
All checks were successful
Push Check / check (push) Successful in 2m15s
fix(ci): pr-check lint 步骤语法错误导致必挂
pnpm 的 --if-present 只对 run 子命令有效,pnpm lint --if-present 把 lint
当外部命令执行报 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL(本地已复现)。
项目无 lint script,删除该步骤;补 pnpm test 对齐基线档定义
(push CI = typecheck + vitest),tsc --noEmit 改用 typecheck script。
2026-07-04 07:58:16 +09:00

27 lines
501 B
YAML

# 前端类型检查 + 单元测试(每次 push master 触发)
name: Push Check
on:
push:
branches: [master]
jobs:
check:
runs-on: windows
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
- run: pnpm test