ci: gate on typecheck
This commit is contained in:
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@@ -42,3 +42,22 @@ jobs:
|
|||||||
run: npm run test:smoke
|
run: npm run test:smoke
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: --max-old-space-size=12288
|
NODE_OPTIONS: --max-old-space-size=12288
|
||||||
|
|
||||||
|
typecheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 15
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '22'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Typecheck
|
||||||
|
run: npm run typecheck
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: --max-old-space-size=12288
|
||||||
|
|||||||
Reference in New Issue
Block a user