|
|
@ -46,8 +46,12 @@ jobs: |
|
|
name: "yarn test" |
|
|
name: "yarn test" |
|
|
command: yarn test |
|
|
command: yarn test |
|
|
|
|
|
|
|
|
postgres: |
|
|
|
|
|
|
|
|
end_to_end_tests: |
|
|
docker: |
|
|
docker: |
|
|
|
|
|
- image: cimg/node:16.10.0 |
|
|
|
|
|
auth: |
|
|
|
|
|
username: adechauveron |
|
|
|
|
|
password: $DOCKER_PASSWORD |
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
auth: |
|
|
auth: |
|
|
username: adechauveron |
|
|
username: adechauveron |
|
|
@ -58,15 +62,10 @@ jobs: |
|
|
POSTGRES_PASSWORD: postgres |
|
|
POSTGRES_PASSWORD: postgres |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
|
|
|
|
|
|
end_to_end_tests: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:16.10.0 |
|
|
|
|
|
auth: |
|
|
|
|
|
username: adechauveron |
|
|
|
|
|
password: $DOCKER_PASSWORD |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
keys: |
|
|
|
|
|
- npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- npm-v2-dependencies- |
|
|
- run: |
|
|
- run: |
|
|
name: "yarn test" |
|
|
name: "yarn test" |
|
|
command: yarn test:e2e |
|
|
command: yarn test:e2e |
|
|
@ -81,10 +80,6 @@ workflows: |
|
|
- lint: |
|
|
- lint: |
|
|
requires: |
|
|
requires: |
|
|
- build |
|
|
- build |
|
|
- postgres: |
|
|
|
|
|
requires: |
|
|
|
|
|
- build |
|
|
|
|
|
- end_to_end_tests: |
|
|
- end_to_end_tests: |
|
|
requires: |
|
|
requires: |
|
|
- lint |
|
|
|
|
|
- postgres |
|
|
|
|
|
|
|
|
- build |