Skip to content

Commit 096de7c

Browse files
yyq1025claude
andcommitted
ci: recreate expo-env.d.ts before app typecheck
The file is expo-generated and gitignored per expo's own guidance, but its expo/types reference carries the *.css module declaration — without it the @/global.css side-effect import is the one remaining app typecheck error on a fresh checkout. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent ecb8723 commit 096de7c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ jobs:
3434

3535
# The app package has no typecheck script (`pnpm -r` skips it) — run
3636
# tsc directly so daemon-client / UI changes are covered too.
37+
# expo-env.d.ts is expo-generated and gitignored per expo's own
38+
# guidance; recreate its documented one-line content (the expo/types
39+
# reference carries the `*.css` module declaration that the
40+
# `@/global.css` side-effect import needs).
3741
- name: Typecheck (app)
3842
working-directory: packages/app
39-
run: npx tsc --noEmit
43+
run: |
44+
echo '/// <reference types="expo/types" />' > expo-env.d.ts
45+
npx tsc --noEmit
4046
4147
- name: Tests
4248
run: pnpm test

0 commit comments

Comments
 (0)