diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-03 11:24:40 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-03 11:24:40 +0300 |
commit | de3bd9fa3f5bc1c35da4ee9f8882c69262421a8a (patch) | |
tree | d8b8b9cbadfe105a2913276c23fbbe425c9f5367 /.circleci/config.yml | |
parent | 54b5410172c7c95948f59ad6ecb48f0f2fc0698e (diff) | |
download | rspamd-de3bd9fa3f5bc1c35da4ee9f8882c69262421a8a.tar.gz rspamd-de3bd9fa3f5bc1c35da4ee9f8882c69262421a8a.zip |
[Test] Add JavaScript linting
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 51525aae0..400029d69 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -119,11 +119,29 @@ jobs: - run: (exit $RETURN_CODE) + eslint: + docker: + - image: circleci/node:latest + 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: npm install + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }} + - run: ./node_modules/.bin/eslint ./ + workflows: version: 2 build-and-test: jobs: - build + - eslint - rspamd-test: requires: - build |