Files
Phenocheck/.github/workflows/ci.yml
T
dasemuandClaude Sonnet 5 d6598d0b31 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>
2026-10-18 15:02:43 +02:00

25 lines
761 B
YAML

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