Skip to content

Commit 106e4c9

Browse files
authored
chore: Add TypeScript check job to CI workflow (#8)
1 parent 5a6bfc0 commit 106e4c9

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ jobs:
2121
- name: Check using Biome
2222
run: bun run ci
2323

24+
tsc:
25+
runs-on: ubuntu-22.04
26+
steps:
27+
- name: Checkout your repository using git
28+
uses: actions/checkout@v4
29+
- name: Setup Node and Bun
30+
uses: jdx/mise-action@v2
31+
- name: Install dependencies
32+
run: bun install --frozen-lockfile
33+
- name: Check using tsc
34+
run: bun run tsc
35+
2436
test:
2537
runs-on: ubuntu-22.04
2638
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
lib/
3+
tsconfig.tsbuildinfo

bun.lockb

-326 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"check": "biome check .",
2323
"check:fix": "biome check --apply .",
2424
"ci": "biome ci .",
25+
"tsc": "tsc",
2526
"test": "vitest"
2627
},
2728
"dependencies": {},
@@ -44,7 +45,6 @@
4445
"micromark-extension-mdx-expression": "^3.0.0",
4546
"textlint-scripts": "^14.0.4",
4647
"textlint-tester": "^14.0.4",
47-
"tsc": "^2.0.4",
4848
"typescript": "^5.4.3",
4949
"vitest": "^1.4.0"
5050
},

0 commit comments

Comments
 (0)