From c3460edd6992e91ba10a2ce98b5ada828550930c Mon Sep 17 00:00:00 2001 From: Neel-Leo Coffin Date: Sat, 16 Jan 2021 17:08:10 +0100 Subject: [PATCH] :construction_worker: add ci build and build jobs --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .circleci/config.yml 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