From 103a4948c27d9ac3a78152ddca03362a51ededd7 Mon Sep 17 00:00:00 2001 From: Simon Reinisch Date: Sun, 27 Oct 2024 17:35:04 +0100 Subject: [PATCH] chore: set up eslint cache for ci --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e02e5b..8bb217f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,12 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Setup ESLint cache + uses: actions/cache@v4 + with: + path: ./.eslintcache + key: ${{ runner.os }}-eslint-${{ hashFiles('**/pnpm-lock.yaml', '**/eslint.config.mjs') }} + - name: Lint run: pnpm run lint