|
@ -10,17 +10,6 @@ references: |
|
|
attach_workspace: |
|
|
attach_workspace: |
|
|
at: ~/ant-design |
|
|
at: ~/ant-design |
|
|
|
|
|
|
|
|
restore_cache: &restore_cache |
|
|
|
|
|
restore_cache: |
|
|
|
|
|
keys: |
|
|
|
|
|
- npm-cache |
|
|
|
|
|
|
|
|
|
|
|
save_cache: &save_cache |
|
|
|
|
|
save_cache: |
|
|
|
|
|
paths: |
|
|
|
|
|
- ~/.npm |
|
|
|
|
|
key: npm-cache |
|
|
|
|
|
|
|
|
|
|
|
install_react: &install_react |
|
|
install_react: &install_react |
|
|
run: REACT=15 ./scripts/install-react.sh |
|
|
run: REACT=15 ./scripts/install-react.sh |
|
|
|
|
|
|
|
@ -37,7 +26,6 @@ jobs: |
|
|
<<: *container_config |
|
|
<<: *container_config |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- *restore_cache |
|
|
|
|
|
- run: node -v |
|
|
- run: node -v |
|
|
- run: npm -v |
|
|
- run: npm -v |
|
|
- run: npm install |
|
|
- run: npm install |
|
@ -46,7 +34,6 @@ jobs: |
|
|
set +eo |
|
|
set +eo |
|
|
npm ls |
|
|
npm ls |
|
|
true |
|
|
true |
|
|
- *save_cache |
|
|
|
|
|
- persist_to_workspace: |
|
|
- persist_to_workspace: |
|
|
root: ~/ant-design |
|
|
root: ~/ant-design |
|
|
paths: |
|
|
paths: |
|
|