1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-18 07:56:44 +01:00

Cache Typescript runs for faster checks (#19381)

This commit is contained in:
Steve Repsher
2024-01-15 09:36:26 -05:00
committed by GitHub
parent 920df03cc1
commit 64b0b64468
2 changed files with 4 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ jobs:
path: |
node_modules/.cache/prettier
node_modules/.cache/eslint
node_modules/.cache/typescript
key: lint-${{ github.sha }}
restore-keys: lint-
- name: Run eslint

View File

@@ -10,6 +10,9 @@
"resolveJsonModule": true,
// Babel handles transpiling and no need for declaration files
"noEmit": true,
// Caching
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/typescript/.tsbuildinfo",
// Type checking options
"noUnusedLocals": true,
"noUnusedParameters": true,