Browse Source

Update config.yml

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

26
.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,15 +53,19 @@ jobs:
database: database:
docker: 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/prostgres:9.6.2-alpine - image: circleci/prostgres:9.6.2-alpine
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
environment:
POSTGRES_DB: psdb
POSTGRES_USER: psqluer
steps: steps:
- checkout - checkout

Loading…
Cancel
Save