From 780f4e096c8de9add005725fddeade4f0646781f Mon Sep 17 00:00:00 2001 From: ark120202 Date: Tue, 8 Oct 2019 19:44:26 +0500 Subject: [PATCH] Update CI workflow --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 645444dc9..95cb25965 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,9 @@ name: CI -on: [push, pull_request] +on: + push: + branches: master + pull_request: jobs: lint: @@ -32,7 +35,7 @@ jobs: - run: npm install --global npm@6 - run: npm ci - run: npm run build - - run: npx jest --coverage + - run: npx jest --maxWorkers 2 --coverage env: CI: true - if: matrix.os == 'ubuntu-latest'