Add root CLAUDE.md, docs/, LESSONS.md, .env.example, .claude/settings.json hooks (syntax-check on edit and on stop), and CI workflows (lint via node --check, and a VERSION-based semver bump) for this plain-JS, no-build Chrome extension. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
22 lines
571 B
YAML
22 lines
571 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 runs a syntax check on every JS file.
|
|
- name: Syntax check (node --check)
|
|
run: |
|
|
find . -name "*.js" -not -path "./.git/*" -print0 | xargs -0 -n1 node --check
|