Skip to content

Commit f59e68f

Browse files
ci: add typecheck to CI workflow (#36)
* ci: add typecheck to CI workflow * ci: move typecheck to separate job for separate check status --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 4856d43 commit f59e68f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,30 @@ jobs:
4747
- name: Check Prettier formatting
4848
run: npm run format
4949

50+
typecheck:
51+
name: TypeCheck
52+
runs-on: ubuntu-latest
53+
timeout-minutes: 15
54+
steps:
55+
- name: Checkout
56+
uses: actions/checkout@v5
57+
58+
- name: Setup Node.js
59+
uses: actions/setup-node@v5
60+
with:
61+
cache: 'npm'
62+
node-version: ${{ env.NODE_VERSION }}
63+
registry-url: 'https://npm.pkg.github.com'
64+
scope: '@deepnote'
65+
66+
- name: Install dependencies
67+
run: npm ci --prefer-offline --no-audit
68+
env:
69+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70+
71+
- name: Run TypeScript type checking
72+
run: npm run typecheck
73+
5074
qlty:
5175
name: Qlty Check
5276
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)