Provide manual benchmark workflow (#112)
authorShinigami <chrissi92@hotmail.de>
Wed, 10 Feb 2021 16:56:09 +0000 (17:56 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Feb 2021 16:56:09 +0000 (17:56 +0100)
.github/workflows/ci.yml

index 6c499d4ba6b018be9a3dfee8e42543766c5c9d83..d08f4158b0f53be1a5c125fa361442bb8a7516bf 100644 (file)
@@ -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