From 8ed83b749c92401356ca60201947561e1576c225 Mon Sep 17 00:00:00 2001 From: Alexandre SOARES <72209227+AS-37@users.noreply.github.com> Date: Sat, 15 Jan 2022 14:11:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20FIX=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b3cc6f4..9cba847 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,19 @@ jobs: key: "npm-v1-dependencies-{{ checksum \"yarn.lock\" }}" paths: - node_modules + test_unit: + docker: + - auth: + password: $DOCKERHUB_PASSWORD + username: xaela37 + image: "cimg/node:14.15.0" + steps: + - checkout + - restore_cache: + key: dependencies-{{ checksum "package.json" }}-v1 + - run: + command: yarn test + end_to_end: docker: - auth: @@ -52,19 +65,7 @@ jobs: yarn lint yarn format:check name: "step lint" - test_unit: - docker: - - auth: - password: $DOCKERHUB_PASSWORD - username: xaela37 - image: "cimg/node:14.15.0" - steps: - - checkout - - restore_cache: - key: dependencies-{{ checksum "package.json" }}-v1 - - run: - command: yarn test - + heroku_deploy: docker: - image: buildpack-deps:trusty