Include relevant config files in eslint cache key (#5299)

This commit is contained in:
Kamil Kisiela 2024-08-01 09:20:12 +02:00 committed by GitHub
parent c0d5ade156
commit 9244b2659b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -26,9 +26,12 @@ jobs:
path: |
.eslintcache
node_modules/.cache/prettier
key: lint-cache-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.sha }}
key:
lint-cache-${{ hashFiles('**/pnpm-lock.yaml', 'packages/web/*/tailwind.config.cjs',
'tsconfig.eslint.json', 'packages/web/app/tsconfig.json') }}-${{github.sha}}
restore-keys: |
lint-cache-${{ hashFiles('**/pnpm-lock.yaml') }}-
lint-cache-${{ hashFiles('**/pnpm-lock.yaml', 'packages/web/*/tailwind.config.cjs',
'tsconfig.eslint.json', 'packages/web/app/tsconfig.json') }}-
- name: eslint
id: eslint

View file

@ -104,7 +104,7 @@ const OPERATIONS_EXPLAINER = 'GraphQL operations reported to GraphQL Hive';
export function Pricing({ gradient }: { gradient: [string, string] }): ReactElement {
return (
<div className="w-full bg-dark">
<div className="w-full bg-[#111111]">
<div className="mx-auto my-12 box-border w-full max-w-screen-lg px-6">
<a id="pricing">
<h2