From a3a0fb0aff9e48da88fad6e3c67e46c23dad272a Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Wed, 1 Aug 2018 10:53:06 +0800 Subject: [PATCH] chore: use one worker on ci --- .circleci/config.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 23442907d0..fa279b365a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -124,7 +124,7 @@ jobs: - checkout - *attach_workspace - run: - command: npm test -- -w 2 + command: npm test -- -w 1 environment: LIB_DIR: dist @@ -135,7 +135,7 @@ jobs: - checkout - *attach_workspace - run: - command: npm test -- -w 2 + command: npm test -- -w 1 environment: LIB_DIR: lib @@ -146,7 +146,7 @@ jobs: - checkout - *attach_workspace - run: - command: npm test -- -w 2 + command: npm test -- -w 1 environment: LIB_DIR: es @@ -156,7 +156,7 @@ jobs: steps: - checkout - *attach_workspace - - run: npm test -- -w 2 --coverage + - run: npm test -- -w 1 --coverage - run: bash <(curl -s https://codecov.io/bash) test_node: @@ -165,7 +165,7 @@ jobs: steps: - checkout - *attach_workspace - - run: npm run test-node -- -w 2 + - run: npm run test-node -- -w 1 test_dist_15: <<: *container_config @@ -175,7 +175,7 @@ jobs: - *attach_workspace - *install_react - run: - command: npm test -- -w 2 -u + command: npm test -- -w 1 -u environment: LIB_DIR: dist @@ -187,7 +187,7 @@ jobs: - *attach_workspace - *install_react - run: - command: npm test -- -w 2 -u + command: npm test -- -w 1 -u environment: LIB_DIR: lib @@ -199,7 +199,7 @@ jobs: - *attach_workspace - *install_react - run: - command: npm test -- -w 2 -u + command: npm test -- -w 1 -u environment: LIB_DIR: es @@ -210,7 +210,7 @@ jobs: - checkout - *attach_workspace - *install_react - - run: npm test -- -w 2 -u + - run: npm test -- -w 1 -u test_node_15: <<: *container_config @@ -219,7 +219,7 @@ jobs: - checkout - *attach_workspace - *install_react - - run: npm run test-node -- -w 2 -u + - run: npm run test-node -- -w 1 -u workflows: version: 2