mirror of
https://github.com/Dasemu/meta-social-mcp.git
synced 2026-11-26 23:36:28 +00:00
Add root CLAUDE.md, LESSONS.md, docs/ index, .claude hooks (syntax-check on edit/write and on stop, since no linter/test suite is configured yet), CI/version GitHub Actions workflows scoped to the existing master branch, and translate .env.example comments to English. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
29 lines
757 B
YAML
29 lines
757 B
YAML
name: CI
|
|
|
|
# This repo currently only has a `master` branch (no `development`/`main` split yet).
|
|
# Update these triggers if/when the standard `development`/`main` branches are introduced.
|
|
on:
|
|
pull_request:
|
|
branches: [master]
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
|
|
- run: npm ci
|
|
|
|
# No linter or test suite is configured in package.json yet; this is the quickest
|
|
# meaningful check available (catches syntax errors in every source file).
|
|
- name: Syntax check
|
|
run: |
|
|
for f in $(find src -name '*.js'); do node --check "$f"; done
|