|
|
@ -13,6 +13,19 @@ jobs: |
|
|
key: "npm-v1-dependencies-{{ checksum \"yarn.lock\" }}" |
|
|
key: "npm-v1-dependencies-{{ checksum \"yarn.lock\" }}" |
|
|
paths: |
|
|
paths: |
|
|
- node_modules |
|
|
- node_modules |
|
|
|
|
|
test_unit: |
|
|
|
|
|
docker: |
|
|
|
|
|
- auth: |
|
|
|
|
|
password: $DOCKERHUB_PASSWORD |
|
|
|
|
|
username: xaela37 |
|
|
|
|
|
image: "cimg/node:14.15.0" |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: dependencies-{{ checksum "package.json" }}-v1 |
|
|
|
|
|
- run: |
|
|
|
|
|
command: yarn test |
|
|
|
|
|
|
|
|
end_to_end: |
|
|
end_to_end: |
|
|
docker: |
|
|
docker: |
|
|
- auth: |
|
|
- auth: |
|
|
@ -52,18 +65,6 @@ jobs: |
|
|
yarn lint |
|
|
yarn lint |
|
|
yarn format:check |
|
|
yarn format:check |
|
|
name: "step lint" |
|
|
name: "step lint" |
|
|
test_unit: |
|
|
|
|
|
docker: |
|
|
|
|
|
- auth: |
|
|
|
|
|
password: $DOCKERHUB_PASSWORD |
|
|
|
|
|
username: xaela37 |
|
|
|
|
|
image: "cimg/node:14.15.0" |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: dependencies-{{ checksum "package.json" }}-v1 |
|
|
|
|
|
- run: |
|
|
|
|
|
command: yarn test |
|
|
|
|
|
|
|
|
|
|
|
heroku_deploy: |
|
|
heroku_deploy: |
|
|
docker: |
|
|
docker: |
|
|
|