diff --git a/.circleci/config.yml b/.circleci/config.yml index bd36c6b..66d9f01 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,18 @@ version: 2.1 -orbs: - node: circleci/node@3.0.0 +jobs: + yarn-install: + docker: + - image: cimg/node:12.18 + steps: + - checkout + - restore_cache: + key: yarn-packages-v3{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - save_cache: + key: yarn-packages-v3{{ checksum "yarn.lock" }} + paths: + - ./node_modules workflows: - node-tests: - jobs: - - node/test \ No newline at end of file + install: + jobs: + - yarn-install \ No newline at end of file