chore: bootstrap Claude setup
Add root CLAUDE.md, docs/architecture.md, LESSONS.md, .env.example, VERSION, .claude/settings.json hooks (syntax/JSON checks since no linter/tests exist yet), and CI/version-bump GitHub workflows. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aa24c77bc8
commit
980f9ffe17
11 files changed
+255
No files matched your search
@@ -0,0 +1,36 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [development]
|
||||
push:
|
||||
branches: [development, main]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
# No linter/formatter is configured for this project yet (no package.json).
|
||||
# This runs the same quick checks as the local Stop hook: JS syntax check
|
||||
# and JSON validation on every tracked file.
|
||||
- name: Syntax-check JS files
|
||||
run: |
|
||||
status=0
|
||||
while IFS= read -r -d '' f; do
|
||||
node --check "$f" || status=1
|
||||
done < <(git ls-files -z -- '*.js')
|
||||
exit $status
|
||||
|
||||
- name: Validate JSON files
|
||||
run: |
|
||||
status=0
|
||||
while IFS= read -r -d '' f; do
|
||||
node -e "JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'))" "$f" || status=1
|
||||
done < <(git ls-files -z -- '*.json')
|
||||
exit $status
|
||||
Reference in new issue
Block a user