From 7ea1b229ef917d2015754880eb78ce7adf34d8a2 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Sat, 23 Dec 2023 22:38:10 +0100 Subject: [PATCH] Run benchmarks on CI --- .github/workflows/node.js.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a6055c5..575f400 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -52,3 +52,23 @@ jobs: - name: Check type definitions run: npm run check-types + + benchmarks: + name: Run benchmarks + runs-on: ubuntu-latest + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Run benchmarks + run: npm run benchmarks --workspace=benchmarks