diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 76a9563f80..744fa052fc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/tsconfig.json b/tsconfig.json index f54276cf0b..f0bada47d9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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,