mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
chore: use one worker on ci
This commit is contained in:
parent
aa6b55be7e
commit
a3a0fb0aff
@ -124,7 +124,7 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- run:
|
- run:
|
||||||
command: npm test -- -w 2
|
command: npm test -- -w 1
|
||||||
environment:
|
environment:
|
||||||
LIB_DIR: dist
|
LIB_DIR: dist
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- run:
|
- run:
|
||||||
command: npm test -- -w 2
|
command: npm test -- -w 1
|
||||||
environment:
|
environment:
|
||||||
LIB_DIR: lib
|
LIB_DIR: lib
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- run:
|
- run:
|
||||||
command: npm test -- -w 2
|
command: npm test -- -w 1
|
||||||
environment:
|
environment:
|
||||||
LIB_DIR: es
|
LIB_DIR: es
|
||||||
|
|
||||||
@ -156,7 +156,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- run: npm test -- -w 2 --coverage
|
- run: npm test -- -w 1 --coverage
|
||||||
- run: bash <(curl -s https://codecov.io/bash)
|
- run: bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
test_node:
|
test_node:
|
||||||
@ -165,7 +165,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- run: npm run test-node -- -w 2
|
- run: npm run test-node -- -w 1
|
||||||
|
|
||||||
test_dist_15:
|
test_dist_15:
|
||||||
<<: *container_config
|
<<: *container_config
|
||||||
@ -175,7 +175,7 @@ jobs:
|
|||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- *install_react
|
- *install_react
|
||||||
- run:
|
- run:
|
||||||
command: npm test -- -w 2 -u
|
command: npm test -- -w 1 -u
|
||||||
environment:
|
environment:
|
||||||
LIB_DIR: dist
|
LIB_DIR: dist
|
||||||
|
|
||||||
@ -187,7 +187,7 @@ jobs:
|
|||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- *install_react
|
- *install_react
|
||||||
- run:
|
- run:
|
||||||
command: npm test -- -w 2 -u
|
command: npm test -- -w 1 -u
|
||||||
environment:
|
environment:
|
||||||
LIB_DIR: lib
|
LIB_DIR: lib
|
||||||
|
|
||||||
@ -199,7 +199,7 @@ jobs:
|
|||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- *install_react
|
- *install_react
|
||||||
- run:
|
- run:
|
||||||
command: npm test -- -w 2 -u
|
command: npm test -- -w 1 -u
|
||||||
environment:
|
environment:
|
||||||
LIB_DIR: es
|
LIB_DIR: es
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- *install_react
|
- *install_react
|
||||||
- run: npm test -- -w 2 -u
|
- run: npm test -- -w 1 -u
|
||||||
|
|
||||||
test_node_15:
|
test_node_15:
|
||||||
<<: *container_config
|
<<: *container_config
|
||||||
@ -219,7 +219,7 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- *attach_workspace
|
- *attach_workspace
|
||||||
- *install_react
|
- *install_react
|
||||||
- run: npm run test-node -- -w 2 -u
|
- run: npm run test-node -- -w 1 -u
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user