|
|
|
@ -27,12 +27,20 @@ jobs: |
|
|
|
username: adrienba |
|
|
|
password: $MYDOCKERHUB_PASSWORD |
|
|
|
steps: |
|
|
|
- restore_cache: |
|
|
|
keys: |
|
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- npm-v1-dependencies |
|
|
|
- run: |
|
|
|
name: "yarn lint" |
|
|
|
command: yarn lint |
|
|
|
- run: |
|
|
|
name: "yarn format:check" |
|
|
|
command: yarn format:check |
|
|
|
- save_cache: |
|
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
paths: |
|
|
|
- node_modules |
|
|
|
yarntestci: |
|
|
|
docker: |
|
|
|
- image: cimg/node:lts |
|
|
|
@ -40,9 +48,17 @@ jobs: |
|
|
|
username: adrienba |
|
|
|
password: $MYDOCKERHUB_PASSWORD |
|
|
|
steps: |
|
|
|
- restore_cache: |
|
|
|
keys: |
|
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- npm-v1-dependencies |
|
|
|
- run: |
|
|
|
name: "yarn test:ci" |
|
|
|
command: yarn test:ci |
|
|
|
- save_cache: |
|
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
paths: |
|
|
|
- node_modules |
|
|
|
|
|
|
|
|
|
|
|
workflows: |
|
|
|
|