mirror of
https://github.com/Dasemu/Phenocheck.git
synced 2026-11-26 15:26:17 +00:00
chore: bootstrap Claude setup
Add root CLAUDE.md, docs/architecture.md, LESSONS.md, .env.example, .claude/settings.json hooks (PostToolUse JS syntax check, Stop hook validating manifest.json + node --check on all JS), and GitHub Actions workflows (ci.yml, version.yml) for this plain-JS Chrome extension with no existing build/lint/test tooling. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c07cbfb614
commit
d6598d0b31
9 files changed
+217
No files matched your search
@@ -0,0 +1,24 @@
|
||||
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 or test suite is configured for this plain-JS browser extension
|
||||
# (no package.json/bundler). This validates manifest.json and runs a syntax
|
||||
# check on every JS file, matching the local Stop hook.
|
||||
- name: Validate manifest.json
|
||||
run: node -e "JSON.parse(require('fs').readFileSync('manifest.json', 'utf8'))"
|
||||
- name: Syntax check (node --check)
|
||||
run: |
|
||||
find . -name "*.js" -not -path "./.git/*" -print0 | xargs -0 -n1 node --check
|
||||
Reference in new issue
Block a user