Skip to content

Commit

Permalink
Add type checking to PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DallasHoff committed Oct 31, 2024
1 parent 47f12bb commit 58de444
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ jobs:
run: 'npm ci'
- name: Run Tests
run: 'npm run test:ci'
typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
- name: Install Dependencies
run: 'npm ci'
- name: Check Types
run: 'npm run typecheck'
format:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:ui": "vitest --ui",
"test:ci": "vitest run",
Expand Down

0 comments on commit 58de444

Please sign in to comment.