diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-01-16 22:32:41 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-01-16 22:32:41 +0300 |
commit | 8a8167d1f3aa12afaf63491dba0c27ff960ca4bf (patch) | |
tree | 02187c8de4135fa66885349d1a215a360cf3fde5 /.circleci/config.yml | |
parent | 6ceb6dbb3a7a43394a2318c8c9eda44e8c7a3ccb (diff) | |
download | chrono-cube-ui-8a8167d1f3aa12afaf63491dba0c27ff960ca4bf.tar.gz |
feat: 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..1bf2c74 --- /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: eslint . + |