From 8ae63737150959dd7a1517735e1069adb4a0b6fc Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Mon, 18 Nov 2024 16:56:55 +0800 Subject: [PATCH] chore: repo overall update --- .github/workflows/upload-canyon-report-coverage-map.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upload-canyon-report-coverage-map.yml b/.github/workflows/upload-canyon-report-coverage-map.yml index e0af993b..0642d7c6 100644 --- a/.github/workflows/upload-canyon-report-coverage-map.yml +++ b/.github/workflows/upload-canyon-report-coverage-map.yml @@ -30,7 +30,11 @@ jobs: # 运行构建命令 - name: Build Vite project - run: pnpm run build:report && ls + run: pnpm run build:report + + # 上传测试覆盖率报告到packages/canyon-report下 + - name: Upload coverage report + run: cd packages/canyon-report && npm install canyon-uploader -g && canyon-uploader map --dsn=http://localhost:8080/coverage/client # 保存构建结果到工作空间 # - name: Upload build artifact