|
|
@ -17,11 +17,11 @@ jobs: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
name: Restore Yarn Package Cache |
|
|
name: Restore Yarn Package Cache |
|
|
key: npm-v1-dependencies-{{ 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: |
|
|
name: Save Yarn Package Cache |
|
|
name: Save Yarn Package Cache |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
- ./node_modules |
|
|
lint: |
|
|
lint: |
|
|
@ -30,7 +30,7 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
- run : yarn lint && yarn format:check |
|
|
- run : yarn lint && yarn format:check |
|
|
test: |
|
|
test: |
|
|
docker: |
|
|
docker: |
|
|
@ -38,5 +38,5 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
- run : yarn test:ci |
|
|
- run : yarn test:ci |