From c95689e27c2de0b0561e93fdf033ed2deb4e8a2a Mon Sep 17 00:00:00 2001 From: NicolasLepinette <55684429+NicolasLepinette@users.noreply.github.com> Date: Mon, 2 Nov 2020 11:18:51 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b236483..244e201 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,19 @@ -vversion: 2.1 +workflows: +version: 2.1 jobs: build: docker: - - image: cimg/node:14.10.1 # the primary container, where your job's comm> + - image: cimg/node:14.10.1 auth: username: mydockerhub-user password: $DOCKERHUB_PASSWORD # context / project UI env-var referen> steps: - - checkout # check out the code in the project directory + - checkout - run: yarn global add node-gyp && yarn install + - run: yarn lint + - run: yarn format:check + - run: yarn test:ci + - save_cache: + key: yarn-packages-{{ checksum "yarn.lock" }} + paths: + - ./node_modules