Skip to content

Merge pull request #84 from mmorerasanchez/docs/architecture-two-repo… #250

Merge pull request #84 from mmorerasanchez/docs/architecture-two-repo…

Merge pull request #84 from mmorerasanchez/docs/architecture-two-repo… #250

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
quality:
name: Build, Type-check & Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build (registry + tokens)
run: npm run build
- name: Check generated artifacts are committed (no drift)
run: |
git diff --exit-code -- registry.json "public/r" tokens/design-tokens.json skill/democrito \
|| (echo "::error::Generated artifacts are stale — run 'npm run build' and commit the result." && exit 1)
- name: Type-check
run: npx tsc -p tsconfig.app.json --noEmit
- name: Test
run: npx vitest run