Browse Source

Update config.yml

pull/9/head
LecomteAdrien 6 years ago
parent
commit
914906acc1
  1. 16
      .circleci/config.yml

16
.circleci/config.yml

@ -16,7 +16,7 @@ workflows:
jobs: jobs:
build: build:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -28,7 +28,7 @@ jobs:
- ./node_modules - ./node_modules
tests: tests:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -40,7 +40,7 @@ jobs:
- ./node_modules - ./node_modules
lint: lint:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -53,16 +53,20 @@ jobs:
database: database:
docker: docker:
- image: circleci/prostgres:9.6.2-alpine
-image: cimg/node:12.18
environment: environment:
POSTGRES_USER: psqluer
POSTGRES_DB: psdb
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb
JWT_SECRET: some string yo want JWT_SECRET: some string yo want
API_PORT: 3000 API_PORT: 3000
API_HOST: localhost API_HOST: localhost
API_PROTOCOL: http API_PROTOCOL: http
- image: circleci/prostgres:9.6.2-alpine
environment:
POSTGRES_DB: psdb
POSTGRES_USER: psqluer
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:

Loading…
Cancel
Save