Skip to content

Commit

Permalink
chore: cache incremental ts check (#30447)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Sep 27, 2023
1 parent 5969db0 commit 8d7a370
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci-code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ jobs:

- uses: dtinth/setup-github-actions-caching-for-turbo@v1

- name: Cache TypeCheck
uses: actions/cache@v3
if: matrix.check == 'ts'
with:
path: ./apps/meteor/tsconfig.typecheck.tsbuildinfo
key: typecheck-cache-${{ runner.OS }}-${{ hashFiles('yarn.lock') }}-${{ github.event.issue.number }}
restore-keys: |
typecheck-cache-${{ runner.OS }}-${{ hashFiles('yarn.lock') }}
typecheck-cache-${{ runner.OS }}
typecheck-cache
- name: TS TypeCheck
if: matrix.check == 'ts'
run: yarn turbo run typecheck
Expand Down
3 changes: 2 additions & 1 deletion apps/meteor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ out.txt
dist
*-session.json
matrix-federation-config/*
.eslintcache
.eslintcache
tsconfig.typecheck.tsbuildinfo

0 comments on commit 8d7a370

Please sign in to comment.