From 64be383122406c7843f9451a650743dc396ba4f0 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Fri, 6 Dec 2024 21:01:13 +0800 Subject: [PATCH] chore: daily development --- .../upload-canyon-report-coverage-map.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/upload-canyon-report-coverage-map.yml diff --git a/.github/workflows/upload-canyon-report-coverage-map.yml b/.github/workflows/upload-canyon-report-coverage-map.yml new file mode 100644 index 00000000..80a042e6 --- /dev/null +++ b/.github/workflows/upload-canyon-report-coverage-map.yml @@ -0,0 +1,22 @@ +name: Build and Deploy Vite Project + +on: + push: + branches: + - * + +jobs: + test: + timeout-minutes: 60 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: lts/* + - name: Install dependencies + run: npm i -g pnpm && npm i -g canyon-uploader && pnpm install + - name: Build + run: pnpm run build:report + - name: Upload coverage map + run: cd packages/canyon-report && canyon-uploader map --dsn=https://collect.canyonjs.org/coverage/map/client