Browse Source

Updated config.yml

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

27
.circleci/config.yml

@ -45,9 +45,13 @@ jobs:
- run: - run:
name: "yarn test" name: "yarn test"
command: yarn test command: yarn test
postgres:
end_to_end_tests:
docker: docker:
- image: cimg/node:16.10.0
auth:
username: adechauveron
password: $DOCKER_PASSWORD
- image: circleci/postgres:9.6.2-alpine - image: circleci/postgres:9.6.2-alpine
auth: auth:
username: adechauveron username: adechauveron
@ -58,15 +62,10 @@ jobs:
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
steps: steps:
- checkout - 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: - run:
name: "yarn test" name: "yarn test"
command: yarn test:e2e command: yarn test:e2e
@ -81,10 +80,6 @@ workflows:
- lint: - lint:
requires: requires:
- build - build
- postgres:
requires:
- build
- end_to_end_tests: - end_to_end_tests:
requires: requires:
- lint
- postgres
- build
Loading…
Cancel
Save