From a9b763230986776ba3dc674f086fe91b3c7fea99 Mon Sep 17 00:00:00 2001 From: Saif Ali Shaik Date: Mon, 27 Apr 2026 11:56:51 +0530 Subject: [PATCH] build: add CI workflow for format check and markdown audit --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..6c84b498b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: ['**'] + pull_request: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + # Reads packageManager field from package.json automatically + + - 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