From 89f189e2b0dbe910135623ab47227e8053ec2874 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 16 Jan 2021 12:36:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20.circleci/config.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.circleci/config.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/.circleci/config.yml 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