From e5840277df7562abdaf741d919e2af5c268bb2c2 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 18 Aug 2025 17:36:30 +0530 Subject: [PATCH] chore: save eslintcache to speedup linting --- .cspell/libraries.txt | 1 + .github/workflows/lint.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.cspell/libraries.txt b/.cspell/libraries.txt index feee10fd1..f7d01a852 100644 --- a/.cspell/libraries.txt +++ b/.cspell/libraries.txt @@ -24,6 +24,7 @@ Doctave DokuWiki dompurify elkjs +eslintcache fcose fontawesome Fonticons diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 50edaa271..21248c802 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -40,6 +40,14 @@ jobs: env: CYPRESS_CACHE_FOLDER: .cache/Cypress + - name: Setup ESLint cache + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 + with: + path: .eslintcache + key: ${{ runner.os }}-eslint-${{ hashFiles('pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-eslint- + - name: Run Linting shell: bash run: |