Run lint tasks on circleci

This commit is contained in:
Ben Gotow 2019-03-17 09:28:01 -07:00
parent 22795bed77
commit 6792a870e0

21
.circleci/config.yml Normal file
View file

@ -0,0 +1,21 @@
version: 2
jobs:
test:
docker:
- image: circleci/node:lts
steps:
- checkout
- restore_cache:
name: Restore Package Cache
keys:
- npm-packages-{{ checksum "package-lock.json" }}-{{ checksum "app/package-lock.json" }}
- run:
name: Install Dependencies
command: npm install
- save_cache:
name: Save Yarn Package Cache
key: npm-packages-{{ checksum "package-lock.json" }}-{{ checksum "app/package-lock.json" }}
paths:
- node_modules
- app/node_modules
- run: npm run lint