feat: Concept Substrate — link repos by shared concepts (Pillar 3, Spec 2a) #115
Workflow file for this run
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: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| # Lockfile is in sync, so `npm ci` enforces it (reproducible installs). | |
| - run: npm ci | |
| - name: Unit tests | |
| run: npm test | |
| - name: Lint | |
| run: npm run lint | |
| # Blocking: catches structural HTML errors (e.g. an unescaped " that | |
| # terminates an attribute) that node --check + vitest + eslint can't see. | |
| - name: HTML parse check | |
| run: npm run check:html | |
| - name: Format check (advisory) | |
| run: npm run format:check | |
| continue-on-error: true | |
| - name: Dependency audit (advisory) | |
| run: npm audit --audit-level=high | |
| continue-on-error: true |