From 2cd7a0d5a9f774bc17e8d85e04b5aa1b694a4489 Mon Sep 17 00:00:00 2001 From: Joey Guerra Date: Sat, 6 Jan 2024 18:53:57 -0600 Subject: [PATCH] chore: add to ci --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39003ee984..e882bdf919 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,27 @@ jobs: cache: 'npm' - run: npm ci - run: npm test + benchmark: + name: Benchmark + runs-on: ubuntu-latest + needs: build + strategy: + matrix: + node-version: + - 20.x + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run benchmark + release: name: Release if: github.ref == 'refs/heads/main' && success()