ci: fix lint cache location

This commit is contained in:
Kisaragi 2024-07-15 14:10:07 +09:00 committed by GitHub
parent 1b84760c19
commit 424e53f774
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -64,11 +64,11 @@ jobs:
- name: Restore eslint cache
uses: actions/cache@v4.0.2
with:
path: node_modules/.cache/eslint
path: packages/${{ matrix.workspace }}/.eslintcache
key: eslint-${{ env.eslint-cache-version }}-${{ hashFiles('/pnpm-lock.yaml') }}-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
eslint-${{ env.eslint-cache-version }}-${{ hashFiles('/pnpm-lock.yaml') }}-
- run: pnpm --filter ${{ matrix.workspace }} run eslint --cache --cache-location node_modules/.cache/eslint --cache-strategy content
- run: pnpm --filter ${{ matrix.workspace }} run eslint --cache --cache-strategy content
typecheck:
needs: [pnpm_install]