Skip to content

Commit 36a7ec7

Browse files
Mearmanhellcp
authored andcommitted
ci: add typecheck workflow to validate TypeScript declarations
Runs npm run check:types on push and PR to main, matching the existing lint/test/build workflow pattern.
1 parent 2b3f409 commit 36a7ec7

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/typecheck.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Typecheck CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
typecheck:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
cache: 'npm'
21+
- run: npm install
22+
- run: npm run check:types

0 commit comments

Comments
 (0)