diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bfdb7b..999f802 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,4 +29,4 @@ jobs: run: yarn test:web - name: Benchmark - run: yarn benchmark + run: yarn benchmark:all diff --git a/package.json b/package.json index 7c46110..9c40fd5 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,8 @@ "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": "ts-node test/benchmark" + "benchmark": "ts-node test/benchmark", + "benchmark:all": "cd test/benchmark && yarn install && yarn benchmark" }, "dependencies": { "@chainsafe/bls-keygen": "^0.3.0",