Skip to content

Commit 103a494

Browse files
committed
chore: set up eslint cache for ci
1 parent ff7e476 commit 103a494

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
- name: Install dependencies
3030
run: pnpm install --frozen-lockfile
3131

32+
- name: Setup ESLint cache
33+
uses: actions/cache@v4
34+
with:
35+
path: ./.eslintcache
36+
key: ${{ runner.os }}-eslint-${{ hashFiles('**/pnpm-lock.yaml', '**/eslint.config.mjs') }}
37+
3238
- name: Lint
3339
run: pnpm run lint
3440

0 commit comments

Comments
 (0)