Skip to content

Commit 5f68863

Browse files
committed
remove contentlayer from typecheck step
1 parent ded947a commit 5f68863

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ jobs:
113113
echo "NEXT_PUBLIC_CB_ENVIRONMENT=test" >> $GITHUB_ENV
114114
echo "CODEBUFF_GITHUB_TOKEN=${{ secrets.CODEBUFF_GITHUB_TOKEN }}" >> $GITHUB_ENV
115115
116-
- name: Generate contentlayer for web typecheck
117-
run: |
118-
cd web && mkdir -p .contentlayer/generated && echo 'export const allDocs: any[] = [];' > .contentlayer/generated/index.ts
119-
120116
- name: Typecheck
121117
run: |
122118
bun run typecheck

web/tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@
3030
"**/*.ts",
3131
"**/*.tsx",
3232
"**/*.mjs",
33-
".next/types/**/*.ts",
34-
".contentlayer/generated"
33+
".next/types/**/*.ts"
3534
],
36-
"exclude": ["node_modules"],
35+
"exclude": ["node_modules", ".contentlayer"],
3736
"ts-node": {
3837
"require": ["tsconfig-paths/register"]
3938
}

0 commit comments

Comments
 (0)