Skip to content

Commit

Permalink
Merge pull request #212 from h3poteto/eslint-ci
Browse files Browse the repository at this point in the history
Add circleci to run eslint
  • Loading branch information
h3poteto authored Apr 12, 2018
2 parents 00ed3f4 + 0c41117 commit 6cd3f34
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 2
jobs:
build:
docker:
- image: node:9-slim
working_directory: /var/opt/app
steps:
- checkout
- restore_cache:
name: Restoring cache - node_modules
keys:
- node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
- run:
name: Install packages
command: npm install
- save_cache:
name: Saving cache - node_modules
key: node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
paths:
- node_modules
- run:
name: Eslint
command: NODE_ENV=production npm run lint

5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6cd3f34

Please sign in to comment.