From da5559314cde369fc2105fb1311ef0b92757cd2f Mon Sep 17 00:00:00 2001 From: sipe-daniel Date: Thu, 5 Nov 2020 17:43:38 +0100 Subject: [PATCH] refactor(config.yml): add some explicit codes --- .circleci/config.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3fb9d08..58edf33 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,9 @@ jobs: - restore_cache: name: Restore Yarn Package Cache key: yarn-packages-v2{{ checksum "yarn.lock" }} - - run: yarn global add node-gyp && yarn install + - run: + name: Install dependencies + command: yarn global add node-gyp && yarn install - save_cache: name: Save Yarn Package Cache key: yarn-packages-v2{{ checksum "yarn.lock" }} @@ -30,13 +32,19 @@ jobs: steps: - checkout - restore_cache: + name: Restore Yarn Package Cache key: yarn-packages-v2{{ checksum "yarn.lock" }} - - run : yarn lint && yarn format:check + - run : + name: "Lint Code" + command: yarn lint && yarn format:check test: docker: - image: cimg/node:12.18 steps: - checkout - restore_cache: + name: Restore Yarn Package Cache key: yarn-packages-v2{{ checksum "yarn.lock" }} - - run : yarn test:ci \ No newline at end of file + - run : + name: "Unit Test" + command: yarn test:ci \ No newline at end of file