diff --git a/.circleci/config.yml b/.circleci/config.yml index 96f110a..d08ceb4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,11 +14,25 @@ jobs: - npm-v1-dependencies-{{ checksum "yarn.lock" }} 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 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 test:ci workflows: @@ -26,9 +40,5 @@ workflows: build_test: jobs: - build - - lint: - requires: - - build - - test: - requires: - - build + - lint + - test