Skip to content

Commit a9b7632

Browse files
build: add CI workflow for format check and markdown audit
1 parent 60e479c commit a9b7632

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ['**']
6+
pull_request:
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: pnpm/action-setup@v4
15+
# Reads packageManager field from package.json automatically
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
cache: 'pnpm'
21+
22+
- name: Install dependencies
23+
run: pnpm install --frozen-lockfile
24+
25+
- name: Type check
26+
run: pnpm astro check
27+
28+
- name: Format check
29+
run: pnpm run format:check
30+
31+
- name: Agent markdown audit
32+
run: node scripts/agent-markdown-audit.js --strict

0 commit comments

Comments
 (0)