Browse Source

Update config.yml

pull/9/head
LecomteAdrien 6 years ago
parent
commit
83a93de93a
  1. 29
      .circleci/config.yml

29
.circleci/config.yml

@ -10,9 +10,7 @@ workflows:
- tests:
requires:
- build
- database:
requires:
- build
jobs:
build:
docker:
@ -51,27 +49,4 @@ jobs:
paths:
- ./node_modules
database:
docker:
- image: cimg/node:12.18
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: psqluer
POSTGRES_DB: psdb
steps:
- checkout
- restore_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
- run: yarn test:e2e
- save_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
paths:
- ./node_modules
Loading…
Cancel
Save