Skip to content

project: fix ci script and error handling in typecheck cmd #37

project: fix ci script and error handling in typecheck cmd

project: fix ci script and error handling in typecheck cmd #37

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
typecheck:
name: TypeScript Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Build internal packages
run: yarn ci build_pkgs
- name: Run typecheck
run: yarn ci typecheck
rust-check:
name: Rust Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@nightly
- name: Run cargo check
run: cargo check --workspace