add lint-diff call to lint task

This commit is contained in:
Severiano Badajoz
2020-04-01 14:33:46 -07:00
parent 114e6f2515
commit 9f292585d0
+10 -1
View File
@@ -15,10 +15,19 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Node cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Lint with flake8
run: |
pip install flake8
make lint
- name: Lint diff with eslint
run: |
cd client && make lint-diff
unit-test:
runs-on: ubuntu-latest