From 559d5b654452f6e720af183ce272475c309f289a Mon Sep 17 00:00:00 2001 From: Saif Ali Shaik Date: Wed, 13 May 2026 13:49:06 +0530 Subject: [PATCH] build: add CI workflow with production build step Add .github/workflows/ci.yml that runs on every push and PR: - Type check (pnpm astro check) - Format check (pnpm run format:check) - Agent markdown audit (--strict) - Production build (pnpm run build) This catches build regressions before merge. Closes #644 --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..0cbbd74f9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: ['**'] + pull_request: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Type check + run: pnpm astro check + + - name: Format check + run: pnpm run format:check + + - name: Agent markdown audit + run: node scripts/agent-markdown-audit.js --strict + + - name: Production build + run: pnpm run build \ No newline at end of file