diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f257cf4b..634ac044 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -27,6 +27,14 @@ jobs: # 测试 - name: Test run: pnpm test + + # 生成覆盖率报告 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: FriedRiceNoodles/banana-ui + # 构建文档 - name: Build with dumi run: pnpm docs:build