Skip to content

Commit 5fd2ae0

Browse files
committed
add TypeScript check script and integrate it into CI workflow
1 parent c0ed3d3 commit 5fd2ae0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.reusable.misc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ jobs:
2727
- run: npx lerna run bundle:alone --scope "@dzcode.io/web"
2828
- run: npx lerna run generate:sitemap --scope "@dzcode.io/web"
2929
- run: npx lerna run generate:htmls --scope "@dzcode.io/web"
30+
- run: npm run --prefix web/cloudflare ts:check

web/cloudflare/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"private": true,
1616
"scripts": {
17+
"ts:check": "tsc --noEmit",
1718
"build": "lerna run build:alone [email protected]/web --include-dependencies --stream",
1819
"deploy:prd": "npm run generate:config -- production && wrangler pages deploy --branch main",
1920
"deploy:stg": "npm run generate:config -- staging && wrangler pages deploy --branch main",

0 commit comments

Comments
 (0)