diff --git a/src/.circleci/config.yml b/src/.circleci/config.yml new file mode 100644 index 0000000..e7afc9c --- /dev/null +++ b/src/.circleci/config.yml @@ -0,0 +1,18 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/node:dubnium-browsers + working_directory: ~/repo + steps: + - checkout + - restore_cache: + keys: + - dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} + # fallback to using the latest cache if no exact match is found + - dependencies- + - run: yarn global add node-gyp && yarn install + - save_cache: + paths: + - node_modules + key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} \ No newline at end of file