mirror of
https://github.com/bitwarden/browser
synced 2026-01-31 16:53:27 +00:00
Invalidate cache on eslint.config.mjs changes
This commit is contained in:
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@@ -88,13 +88,13 @@ jobs:
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
with:
|
||||
path: .eslintcache
|
||||
key: ${{ runner.os }}-eslint-${{ hashFiles('eslint.config.mjs') }}-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
key: ${{ runner.os }}-eslint-${{ hashFiles('eslint.config.mjs') }}
|
||||
|
||||
- name: Cache Prettier
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
with:
|
||||
path: node_modules/.cache/prettier
|
||||
key: ${{ runner.os }}-prettier-${{ hashFiles('.prettierrc.json') }}-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
key: ${{ runner.os }}-prettier-${{ hashFiles('.prettierrc.json') }}
|
||||
|
||||
- name: Lint unowned dependencies
|
||||
run: pnpm run lint:dep-ownership
|
||||
|
||||
Reference in New Issue
Block a user