Browse Source

Updated config.yml

adding_ci
Anatole De Chauveron 5 years ago
parent
commit
e4bdf9bb87
  1. 25
      .circleci/config.yml

25
.circleci/config.yml

@ -46,8 +46,12 @@ jobs:
name: "yarn test"
command: yarn test
postgres:
end_to_end_tests:
docker:
- image: cimg/node:16.10.0
auth:
username: adechauveron
password: $DOCKER_PASSWORD
- image: circleci/postgres:9.6.2-alpine
auth:
username: adechauveron
@ -58,15 +62,10 @@ jobs:
POSTGRES_PASSWORD: postgres
steps:
- checkout
end_to_end_tests:
docker:
- image: cimg/node:16.10.0
auth:
username: adechauveron
password: $DOCKER_PASSWORD
steps:
- checkout
- restore_cache:
keys:
- npm-v2-dependencies-{{ checksum "yarn.lock" }}
- npm-v2-dependencies-
- run:
name: "yarn test"
command: yarn test:e2e
@ -81,10 +80,6 @@ workflows:
- lint:
requires:
- build
- postgres:
requires:
- build
- end_to_end_tests:
requires:
- lint
- postgres
- build
Loading…
Cancel
Save