From 253f3064f2bfc1079f5c4442af3b9be46597ba99 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Wed, 10 Feb 2021 17:56:09 +0100 Subject: [PATCH] Provide manual benchmark workflow (#112) --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c499d4b..d08f4158 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,11 @@ on: branches: - master pull_request: + workflow_dispatch: + inputs: + withBenchmark: + description: 'With Benchmark?' + default: false jobs: build: @@ -44,3 +49,7 @@ jobs: npm run coverage env: CI: true + + - name: Benchmark + if: github.event.inputs.withBenchmark + run: npm run benchmark -- 2.34.1