From 8b259826c07a69fc081fe9f0efd5041da59a2320 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 11 Dec 2023 22:22:03 +0800 Subject: [PATCH] ci: disable continuous benchmark for now --- .github/workflows/ci.yml | 50 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9e8078dd..717bc1079 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,31 +58,6 @@ jobs: - name: Run ssr unit tests run: pnpm run test-unit server-renderer - benchmarks: - runs-on: ubuntu-latest - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository - env: - PUPPETEER_SKIP_DOWNLOAD: 'true' - steps: - - uses: actions/checkout@v4 - - - name: Install pnpm - uses: pnpm/action-setup@v2 - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version-file: '.node-version' - cache: 'pnpm' - - - run: pnpm install - - - name: Run benchmarks - uses: CodSpeedHQ/action@v2 - with: - run: pnpm vitest bench --run - token: ${{ secrets.CODSPEED_TOKEN }} - e2e-test: runs-on: ubuntu-latest if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository @@ -137,3 +112,28 @@ jobs: - name: Run type declaration tests run: pnpm run test-dts + + # benchmarks: + # runs-on: ubuntu-latest + # if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository + # env: + # PUPPETEER_SKIP_DOWNLOAD: 'true' + # steps: + # - uses: actions/checkout@v4 + + # - name: Install pnpm + # uses: pnpm/action-setup@v2 + + # - name: Install Node.js + # uses: actions/setup-node@v4 + # with: + # node-version-file: '.node-version' + # cache: 'pnpm' + + # - run: pnpm install + + # - name: Run benchmarks + # uses: CodSpeedHQ/action@v2 + # with: + # run: pnpm vitest bench --run + # token: ${{ secrets.CODSPEED_TOKEN }}