fix(ci): 修复 CI/CD 工作流问题

- fix: release.yml typecheck 脚本名 compile → typecheck(发版阻断 bug)
- perf: CI 测试改用 test:coverage 生成覆盖率报告
- refactor: Release 复用 CI 工作流(workflow_call),消除重复 Job
- feat: Release 新增 Firefox/Chrome zip 产物验证步骤
- fix: 补全 lint-staged 配置,修复 pre-commit hook 失效问题
- feat: 添加 Dependabot 自动依赖更新配置
This commit is contained in:
Ubuntu
2026-05-21 18:01:31 +08:00
parent a5c34e5428
commit 1df53323d0
4 changed files with 61 additions and 65 deletions
+5 -6
View File
@@ -2,11 +2,10 @@ name: CI
on:
push:
branches:
- main
branches: [main]
pull_request:
branches:
- main
branches: [main]
workflow_call: # 允许 Release 工作流复用此 CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -67,8 +66,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
- name: Run tests with coverage
run: npm run test:coverage
build:
name: Build (${{ matrix.browser }})