Skip to content

Commit 699a998

Browse files
committed
Add type check CI step
1 parent c802283 commit 699a998

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build & Test & Check Format
1+
name: Run Checks
22

33
on:
44
# Trigger the workflow every time a push is made to 'master'
@@ -19,5 +19,7 @@ jobs:
1919
uses: withastro/action@v2
2020
- name: Test
2121
run: bun test
22+
- name: Type Check
23+
run: bun check
2224
- name: Format Check
2325
run: bun format:check

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "astro build",
99
"preview": "astro preview",
1010
"astro": "astro",
11+
"check": "astro check",
1112
"format": "prettier --write \"**/*.{astro,ts,tsx,md,mdx,js,cjs,mjs,jsx}\"",
1213
"format:check": "prettier --check \"**/*.{astro,ts,tsx,md,mdx,js,cjs,mjs,jsx}\""
1314
},

0 commit comments

Comments
 (0)