From 67ab3d4ee2fa1e51cafe0ef36df2fbe62ae2d1b0 Mon Sep 17 00:00:00 2001 From: adamviktora Date: Tue, 8 Oct 2024 13:19:06 +0200 Subject: [PATCH] invalidate cache to update package.json in github action --- .github/workflows/build-lint-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index cbb1ba8..3c47414 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -39,13 +39,13 @@ jobs: path: | node_modules **/node_modules - key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} + key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json') }} - uses: actions/cache@v4 id: lint-cache name: Load lint cache with: path: '.eslintcache' - key: ${{ runner.os }}-lint-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} + key: ${{ runner.os }}-lint-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json') }} - name: ESLint run: yarn lint:js - name: MDLint