|
|
@ -44,6 +44,20 @@ jobs: |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
- ./node_modules |
|
|
|
|
|
database: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: circleci/node:12 |
|
|
|
|
|
environment: |
|
|
|
|
|
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb |
|
|
|
|
|
JWT_SECRET: some string yo want |
|
|
|
|
|
API_PORT: 3000 |
|
|
|
|
|
API_HOST: localhost |
|
|
|
|
|
API_PROTOCOL: http |
|
|
|
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
|
|
|
environment: |
|
|
|
|
|
POSTGRES_USER: psqluser |
|
|
|
|
|
POSTGRES_PASSWORD: psqlpassword |
|
|
|
|
|
POSTGRES_DB: psdb |
|
|
|
|
|
|
|
|
workflows: |
|
|
workflows: |
|
|
build_and_test: |
|
|
build_and_test: |
|
|
|