Browse Source

changed the damn version of node and psql

main 0.4
Francois Lannoy 6 years ago
parent
commit
101fe9c785
  1. 19
      .circleci/config.yml

19
.circleci/config.yml

@ -15,7 +15,7 @@ workflows:
jobs:
build:
docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
@ -27,7 +27,7 @@ jobs:
- ./node_modules
lint:
docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
@ -35,7 +35,7 @@ jobs:
- run : yarn lint && yarn format:check
test:
docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
@ -43,18 +43,19 @@ jobs:
- run : yarn test:ci
e2e:
docker:
- image: cimg/node:12.19
- image: circleci/postgres
environment:
POSTGRES_USER: e2e
POSTGRES_DB: psdb
POSTGRES_PASSWORD: test
- image: cimg/node:12.18
environment:
DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb"
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
JWT_SECRET: yeet
- image: circleci/postgres:9.6.2-alpine
environment:
POSTGRES_USER: e2e
POSTGRES_DB: psdb
POSTGRES_PASSWORD: test
steps:
- checkout
- restore_cache:

Loading…
Cancel
Save