Files
jeffvli 8b5d646048 chore: add agent docs, skills, and commitlint
Introduce AGENTS.md (CLAUDE.md symlink), docs/agents guides, repo skills, and CI commitlint with Feishin scopes.
2026-08-16 11:53:21 -07:00

49 lines
1.4 KiB
YAML

name: Test
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v6
- name: Install Node.js and PNPM
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install
- name: Lint Files
run: pnpm run lint
commitlint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install Node.js and PNPM
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install
- name: Lint PR commits
if: github.event_name == 'pull_request'
run: pnpm exec commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Lint push commits
if: github.event_name == 'push'
run: |
if [ "${{ github.event.before }}" = "0000000000000000000000000000000000000000" ]; then
pnpm exec commitlint --last --verbose
else
pnpm exec commitlint --from ${{ github.event.before }} --to ${{ github.event.after }} --verbose
fi