|
|
@ -49,9 +49,9 @@ jobs: |
|
|
command: yarn test |
|
|
command: yarn test |
|
|
environment: |
|
|
environment: |
|
|
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psqluer |
|
|
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psqluer |
|
|
end_to_end: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.15.0 |
|
|
|
|
|
|
|
|
end_to_end: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.15.0 |
|
|
auth: |
|
|
auth: |
|
|
username: xaela37 |
|
|
username: xaela37 |
|
|
password: $DOCKERHUB_PASSWORD |
|
|
password: $DOCKERHUB_PASSWORD |
|
|
@ -63,10 +63,10 @@ jobs: |
|
|
POSTGRES_USER: pguser |
|
|
POSTGRES_USER: pguser |
|
|
POSTGRES_DB: pgdb |
|
|
POSTGRES_DB: pgdb |
|
|
POSTGRES_PASSWORD: pass |
|
|
POSTGRES_PASSWORD: pass |
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
keys: |
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
keys: |
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
- run: |
|
|
- run: |
|
|
name: "yarn test" |
|
|
name: "yarn test" |
|
|
|