mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Cache Typescript runs for faster checks (#19381)
This commit is contained in:
parent
920df03cc1
commit
64b0b64468
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -42,6 +42,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
node_modules/.cache/prettier
|
node_modules/.cache/prettier
|
||||||
node_modules/.cache/eslint
|
node_modules/.cache/eslint
|
||||||
|
node_modules/.cache/typescript
|
||||||
key: lint-${{ github.sha }}
|
key: lint-${{ github.sha }}
|
||||||
restore-keys: lint-
|
restore-keys: lint-
|
||||||
- name: Run eslint
|
- name: Run eslint
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
// Babel handles transpiling and no need for declaration files
|
// Babel handles transpiling and no need for declaration files
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
|
// Caching
|
||||||
|
"incremental": true,
|
||||||
|
"tsBuildInfoFile": "node_modules/.cache/typescript/.tsbuildinfo",
|
||||||
// Type checking options
|
// Type checking options
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user