|
|
@ -10,7 +10,7 @@ jobs: |
|
|
- checkout # check out the code in the project directory |
|
|
- checkout # check out the code in the project directory |
|
|
- run: yarn install |
|
|
- run: yarn install |
|
|
- save_cache: |
|
|
- save_cache: |
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: npm-v3-dependencies-{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- node_module |
|
|
- node_module |
|
|
test: |
|
|
test: |
|
|
@ -22,7 +22,7 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: npm-v3-dependencies-{{ checksum "yarn.lock" }} |
|
|
- run: |
|
|
- run: |
|
|
name: Lint && format check && test ci |
|
|
name: Lint && format check && test ci |
|
|
command: >- |
|
|
command: >- |
|
|
|