Skip to content

Commit

Permalink
cache linter based on lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Nov 2, 2018
1 parent fbc16a3 commit 9a9afcd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,14 @@ jobs:
at: .
- restore_cache:
keys:
- v1-lint-{{ .Branch }}
- v1-lint
- v2-lint-{{ .Branch }}-{{ checksum ".eslintrc" }}
- v2-lint-{{ .Branch }}
- v2-lint
- run: yarn run lint
- run: yarn run lint-docs
- run: yarn run lint-css
- save_cache:
key: v1-lint-{{ .Branch }}-{{ .Revision }}
key: v2-lint-{{ .Branch }}-{{ checksum ".eslintrc" }}
paths:
- '.eslintcache'

Expand Down

0 comments on commit 9a9afcd

Please sign in to comment.