Browse Source

Update config.yml

pull/9/head
LecomteAdrien 6 years ago
parent
commit
148f8b9018
  1. 37
      .circleci/config.yml

37
.circleci/config.yml

@ -52,21 +52,22 @@ jobs:
- ./node_modules - ./node_modules
database: database:
- image: circleci/postgres:9.6-alpine
steps:
- checkout
- restore_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
- run: yarn test:e2e
environment:
POSTGRES_USER: psqluer
POSTGRES_DB: psdb
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb
JWT_SECRET: some string yo want
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
- save_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
paths:
- ./node_modules
docker:
- image: circleci/postgres:9.6-alpine
steps:
- checkout
- restore_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
- run: yarn test:e2e
environment:
POSTGRES_USER: psqluer
POSTGRES_DB: psdb
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb
JWT_SECRET: some string yo want
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
- save_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
paths:
- ./node_modules
Loading…
Cancel
Save