|
|
@ -13,10 +13,10 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: yarn-packages-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- save_cache: |
|
|
- save_cache: |
|
|
key: yarn-packages-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
- ./node_modules |
|
|
tests: |
|
|
tests: |
|
|
@ -25,10 +25,10 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: yarn-packages-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
- run: yarn lint && yarn format:check |
|
|
- run: yarn lint && yarn format:check |
|
|
- run: yarn test:ci |
|
|
- run: yarn test:ci |
|
|
- save_cache: |
|
|
- save_cache: |
|
|
key: yarn-packages-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
- ./node_modules |