From 9f292585d05b79de536c82e576a0794bd976efd7 Mon Sep 17 00:00:00 2001 From: Severiano Badajoz Date: Wed, 1 Apr 2020 14:33:46 -0700 Subject: [PATCH] add lint-diff call to lint task --- .github/workflows/push_tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index 7649c52e..f205e067 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -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