diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..3a989e1 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,21 @@ +version: 2.1 +jobs: + build: + docker: + - image: circleci/node:dubnium-browsers + steps: + - checkout + - restore_cache: + keys: + - yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} + - yarn-packages + - run: yarn global add node-gyp && yarn install + - save_cache: + key: yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} + paths: + - node_modules + +workflows: + build_and_test: + jobs: + - build