mirror of
https://github.com/delibae/claude-prism.git
synced 2026-08-28 05:14:59 +00:00
- Add husky with biome check --staged --write pre-commit hook - Add GitHub Actions lint workflow (biome ci on PR/push to main) - Update CONTRIBUTING.md with pre-commit and CI documentation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
405 B
YAML
24 lines
405 B
YAML
name: Lint
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: pnpm
|
|
|
|
- run: pnpm install --frozen-lockfile
|
|
|
|
- name: Biome CI
|
|
run: pnpm exec biome ci
|