Skip to content

ci: run full test suite on PR + branded agentimization release bot #36

ci: run full test suite on PR + branded agentimization release bot

ci: run full test suite on PR + branded agentimization release bot #36

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
# build in dependency order: core/cli resolve @agentimization/* to the
# deps' emitted dist/*.d.ts, so shared must compile before core before cli
# (bun run --filter '*' does not guarantee this ordering)
- name: Build
run: |
bunx tsc -p packages/shared/tsconfig.json
bunx tsc -p packages/core/tsconfig.json
bunx tsc -p apps/cli/tsconfig.json
# root test script fans out to every workspace; the cli vitest suite is
# source-only and core's vitest aliases shared to source, so test needs
# no ordered build
- name: Test
run: bun run test
- name: Typecheck
run: |
bunx tsc -p packages/shared/tsconfig.json --noEmit
bunx tsc -p packages/core/tsconfig.json --noEmit
bunx tsc -p apps/cli/tsconfig.json --noEmit