aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Dubik <anton.dubik33@gmail.com>2020-01-18 22:40:53 +0300
committerGitHub <noreply@github.com>2020-01-18 22:40:53 +0300
commit4486c9f47ab4f9ba76ac09fab6bd8dd41e08cf7a (patch)
tree59018ad12e0209009085d0d869f4f2eb75ad5e4f
parent22918f53bdee82e0a34bb2a09059ccd3ffca0dc6 (diff)
parent3b2efef0f419578d5602c7b23fd4dd3b59d83fd8 (diff)
downloadchrono-cube-ui-4486c9f47ab4f9ba76ac09fab6bd8dd41e08cf7a.tar.gz
Merge pull request #44 from Eug-VS/circle
Configure circleCI
-rw-r--r--.circleci/config.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..76027f7
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,29 @@
+version: 2
+jobs:
+ build:
+ docker:
+ - image: circleci/node:12-stretch
+
+ working_directory: ~/repo
+
+ steps:
+ - checkout
+ - restore_cache:
+ keys:
+ - v1-dependencies-{{ checksum "package.json" }}
+ # fallback to using the latest cache if no exact match is found
+ - v1-dependencies-
+
+ - run:
+ name: install NPM dependencies
+ command: npm install
+
+ - save_cache:
+ paths:
+ - node_modules
+ key: v1-dependencies-{{ checksum "package.json" }}
+
+ - run:
+ name: Test code syntax with eslint
+ command: npx eslint .
+