From e5ca7aaf415c9d313228f25dcb23290edf2c83d0 Mon Sep 17 00:00:00 2001 From: Youssef Touggani Date: Thu, 5 Nov 2020 15:54:05 +0100 Subject: [PATCH] install step --- .circleci/config.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e3b120b..1982e85 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,4 +8,14 @@ jobs: password: $DOCKERHUB_PASSWORD # context / project UI env-var reference steps: - checkout # check out the code in the project directory - - run: echo "hello world" # run the `echo` command + - restore_cache: + key: yarn-packages-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - run: yarn lint + - run: yarn format:check + - run: yarn format --check + - run: yarn test:ci + - save_cache: + key: yarn-packages-{{ checksum "yarn.lcok" }} + paths: + - ./node_modules