Skip to content

Commit e628971

Browse files
committed
chore: fix tsc checking in CI
1 parent e550a56 commit e628971

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616
- run: npm ci
17-
- run: npm run -- tsc --extendedDiagnostics
17+
- run: npm run tsc

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepare": "husky",
2020
"preview": "astro preview",
2121
"start": "astro dev",
22-
"tsc": "tsc",
22+
"tsc": "tsc --noEmit",
2323
"tsc:config": "tsc --showConfig"
2424
},
2525
"devDependencies": {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "astro/tsconfigs/strict",
33
"include": [".astro/types.d.ts", "**/*"],
4-
"exclude": ["dist"]
4+
"exclude": ["dist", "node_modules"]
55
}

0 commit comments

Comments
 (0)