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