diff options
author | Anton Dubik <anton.dubik33@gmail.com> | 2020-01-18 22:40:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-18 22:40:53 +0300 |
commit | 4486c9f47ab4f9ba76ac09fab6bd8dd41e08cf7a (patch) | |
tree | 59018ad12e0209009085d0d869f4f2eb75ad5e4f /.circleci/config.yml | |
parent | 22918f53bdee82e0a34bb2a09059ccd3ffca0dc6 (diff) | |
parent | 3b2efef0f419578d5602c7b23fd4dd3b59d83fd8 (diff) | |
download | chrono-cube-ui-4486c9f47ab4f9ba76ac09fab6bd8dd41e08cf7a.tar.gz |
Merge pull request #44 from Eug-VS/circle
Configure circleCI
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 29 |
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 . + |