Add lint check to CI

This commit is contained in:
Jeremie Pardou-Piquemal 2020-06-13 16:21:55 +02:00 committed by Jérémie Pardou-Piquemal
parent e06b0e384c
commit 685b977d90

View File

@ -4,13 +4,12 @@
jobs:
test-job:
docker:
- image: 'circleci/node:lts'
- image: "circleci/node:lts"
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
@ -27,6 +26,9 @@ jobs:
- server/node_modules
key: dependencies-{{ checksum "yarn.lock" }}
- run:
command: yarn lint
- run:
command: yarn test
environment: