diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-02-03 17:55:11 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-02-03 17:55:11 +0300 |
commit | 6bbf39de74bbe7437bca5369e9ac751fff8f4fb8 (patch) | |
tree | abbae082acb9c5cf66de506dbe6c9d6f16a71b50 /.circleci | |
parent | c8d6281c29bbaca18cf86c63143c939d27357631 (diff) | |
download | react-benzin-6bbf39de74bbe7437bca5369e9ac751fff8f4fb8.tar.gz |
feat: configure circleCI :construction_worker:
Diffstat (limited to '.circleci')
-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 . + |