From baa8d36117b2705e0ad3bf5b50c412bc16921ad7 Mon Sep 17 00:00:00 2001 From: Efremov Alexey Date: Tue, 31 Aug 2021 16:35:04 +0300 Subject: [PATCH] Turn on lint for PR and master --- .github/workflows/lint.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fbf5077..713e8c9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,10 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + + - uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Install modules - run: yarn + run: yarn install working-directory: ./js + - name: Run ESLint run: yarn lint:eslint working-directory: ./js -