From: Shinigami Date: Wed, 10 Feb 2021 16:56:09 +0000 (+0100) Subject: Provide manual benchmark workflow (#112) X-Git-Tag: v2.0.0-beta.2~59 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=253f3064f2bfc1079f5c4442af3b9be46597ba99;p=poolifier.git Provide manual benchmark workflow (#112) --- 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