Browse Source

chore: use one worker on ci

pull/11565/head
Wei Zhu 6 years ago
parent
commit
a3a0fb0aff
  1. 20
      .circleci/config.yml

20
.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

Loading…
Cancel
Save