chore: 更新脚本

This commit is contained in:
claude-code-best
2026-06-14 17:59:34 +08:00
parent d2d4cb67d2
commit 6252a1b127

View File

@@ -47,14 +47,15 @@ jobs:
test -s coverage/lcov.info test -s coverage/lcov.info
grep -q '^SF:' coverage/lcov.info grep -q '^SF:' coverage/lcov.info
- name: Upload coverage to Codecov # codecov 坏了,老是失败,先注释掉
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} # - name: Upload coverage to Codecov
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5, 2026-04-25 # if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
with: # uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5, 2026-04-25
fail_ci_if_error: true # with:
files: ./coverage/lcov.info # fail_ci_if_error: true
disable_search: true # files: ./coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }} # disable_search: true
# token: ${{ secrets.CODECOV_TOKEN }}
- name: Build - name: Build
run: bun run build:vite run: bun run build:vite