CI Recipe (GitHub Actions)

Add a minimal workflow that fails PRs on type errors and keeps compiled SQL artifacts up to date.

Create .github/workflows/deet.yml:

name: deet

on:
  pull_request:
  push:
    branches: [main]

jobs:
  deet:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: actions/setup-node@v4
        with:
          node-version: 20

      - name: Install deet
        run: npm install -g @deet/compiler

      - name: Typecheck
        run: deet check

      - name: Compile (duckdb)
        run: deet compile --target duckdb --out dist

If your .dt project lives in a subdirectory, add working-directory: ./path/to/project on the run steps.