docs: add DeckLint release gate (#12) #64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| desktop-and-worker: | |
| name: Desktop build and worker tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: | | |
| apps/desktop/package-lock.json | |
| apps/web/package-lock.json | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libcairo2-dev pkg-config | |
| - name: Install Python dependencies | |
| run: | | |
| python -m venv .venv | |
| .venv/bin/python -m pip install --upgrade pip | |
| .venv/bin/python -m pip install -r requirements.txt | |
| - name: Install desktop dependencies | |
| run: npm --prefix apps/desktop ci | |
| - name: Install web experience dependencies | |
| run: npm --prefix apps/web ci | |
| - name: Build desktop frontend | |
| run: npm run build:desktop | |
| - name: Build web experience | |
| run: npm run build:web | |
| - name: Audit documentation links | |
| run: npm run audit:docs | |
| - name: Audit Web Experience console | |
| run: npm run audit:web-console | |
| - name: Audit preset starter packs | |
| run: npm run audit:presets | |
| - name: Audit stable quality proofs | |
| run: npm run audit:quality | |
| - name: Audit skill marketplace readiness | |
| run: npm run audit:market | |
| - name: Audit desktop dependencies | |
| run: npm --prefix apps/desktop audit --audit-level=high | |
| - name: Run Node integration tests | |
| run: npm run test:node | |
| - name: Run worker tests | |
| run: npm run test:worker | |
| - name: Check whitespace | |
| run: git diff --check |