Skip to content

docs: overhaul README, CHANGELOG, CONTRIBUTING, SECURITY, and roadmap #22

docs: overhaul README, CHANGELOG, CONTRIBUTING, SECURITY, and roadmap

docs: overhaul README, CHANGELOG, CONTRIBUTING, SECURITY, and roadmap #22

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint --if-present
- name: Run tests
run: npm test
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build --if-present
telemetry-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Audit for telemetry
run: |
echo "Scanning for telemetry patterns..."
! grep -rn "google.analytics\|mixpanel\|sentry\.io\|amplitude\|segment\.com" \
--include="*.ts" --include="*.js" --include="*.tsx" --include="*.jsx" \
lib/ || { echo "TELEMETRY FOUND — FAILING BUILD"; exit 1; }
echo "✅ No telemetry found"