From 2073d31a159f417ea81c51cb717cfbeee150eec5 Mon Sep 17 00:00:00 2001 From: dapplion Date: Fri, 20 Nov 2020 19:37:07 +0000 Subject: [PATCH] Run benchmarks on CI --- .github/workflows/test.yml | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2021c6b..63b9e5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,3 +20,5 @@ jobs: run: yarn lint - name: Tests run: yarn test + - name: Benchmark + run: yarn benchmark diff --git a/package.json b/package.json index 64d3785..25c5add 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'", "test": "yarn run test:unit && yarn run test:spec", "coverage": "codecov -F bls", - "benchmark": "node -r ./.babel-register test/benchmarks" + "benchmark": "ts-node test/benchmark" }, "dependencies": { "@chainsafe/bls-keygen": "^0.2.0",