Browse Source

fix db

pull/1/merge
Gautier couture 6 years ago
parent
commit
a2771de183
  1. 17
      .circleci/config.yml

17
.circleci/config.yml

@ -5,12 +5,7 @@ jobs:
docker:
- image: cimg/node:14.10.1
- image: circleci/postgres:9.6.2-alpine
environment:
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb
JWT_SECRET: coucou
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
steps:
- checkout
- restore_cache:
@ -20,7 +15,15 @@ jobs:
- run: yarn lint
- run: yarn format:check
- run: yarn test:ci
- run: yarn test:e2e
- run:
name: "database"
command: yarn test:e2e
environment:
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb
JWT_SECRET: coucou
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
- save_cache:
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:

Loading…
Cancel
Save