From 2e6222394c12837eda1b2a75b9d9ca080d568d8c Mon Sep 17 00:00:00 2001 From: Nikolay Martyanov Date: Thu, 11 Jul 2024 18:07:55 +0200 Subject: [PATCH] Ensure up-to-date dependencies in ESLint workflows. Removed the redundant restore-keys from the ESLint workflows for both frontend and backend to ensure we use up-to-date dependencies and avoid fallback issues when new dependencies are added. Signed-off-by: Nikolay Martyanov --- .github/workflows/eslint-back.yml | 2 -- .github/workflows/eslint-front.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/eslint-back.yml b/.github/workflows/eslint-back.yml index aba0f09..2a21cc2 100644 --- a/.github/workflows/eslint-back.yml +++ b/.github/workflows/eslint-back.yml @@ -45,8 +45,6 @@ jobs: with: path: ./backend/node_modules key: ${{ runner.os }}-back-node-${{ hashFiles('./backend/package.json') }} - restore-keys: | - ${{ runner.os }}-back-node- - name: Install dependencies run: npm install diff --git a/.github/workflows/eslint-front.yml b/.github/workflows/eslint-front.yml index 1daa1c1..9b01d7a 100644 --- a/.github/workflows/eslint-front.yml +++ b/.github/workflows/eslint-front.yml @@ -45,8 +45,6 @@ jobs: with: path: ./frontend/node_modules key: ${{ runner.os }}-front-node-${{ hashFiles('./frontend/package.json') }} - restore-keys: | - ${{ runner.os }}-front-node- - name: Install dependencies run: npm install