From 2a57598b30dc36c453255eabbb0fd5e2607fd94b Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Mon, 2 Nov 2020 20:18:17 +0100 Subject: [PATCH] test --- .circleci/config.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d08ceb4..064d734 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,32 +8,38 @@ jobs: password: $DOCKERHUB_PASSWORD # context / project UI env-var reference steps: - checkout # check out the code in the project directory - - run: yarn global add node-gyp && yarn install - restore_cache: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install lint: docker: *shared_docker steps: - checkout # check out the code in the project directory - - run: yarn global add node-gyp && yarn install - restore_cache: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} - - - run: yarn lint && yarn format:check + - run: yarn global add node-gyp && yarn install && yarn lint && yarn format:check test: docker: *shared_docker steps: - checkout # check out the code in the project directory - - run: yarn global add node-gyp && yarn install - restore_cache: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: + yarn global add node-gyp && yarn install && yarn test:ci - - run: yarn test:ci + # e2e_test: + # docker: + # -image: "circleci/postgres:9.6.2-alpine" + # -image: "circleci/node:12" + # steps: + # - checkout + # - run: + # command: yarn workflows: version: 2