refactor: rename knowledge-tracker → memory-nudge, unify all nudges u… #316
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node-version: [18, 20] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - name: Install ShellCheck (macOS) | |
| if: runner.os == 'macOS' | |
| run: brew install shellcheck | |
| - name: ShellCheck | |
| if: runner.os != 'Windows' | |
| run: shellcheck -x .lore/scripts/*.sh .lore/scripts/lib/*.sh | |
| - name: Lint & format | |
| if: matrix.node-version >= 20 | |
| run: npx eslint . && npx prettier --check . | |
| - run: npm test | |
| - name: Regenerate derived files | |
| shell: bash | |
| run: | | |
| node -e "require('./.lore/lib/banner').ensureStickyFiles('.')" | |
| bash .lore/scripts/sync-platform-skills.sh && bash .lore/scripts/generate-cursor-rules.sh | |
| node .lore/scripts/generate-claude-md.js . | |
| - name: Validate consistency | |
| shell: bash | |
| run: bash .lore/scripts/validate-consistency.sh | |
| - name: Check derived files are committed | |
| shell: bash | |
| run: git diff --exit-code | |
| - name: Check version sync | |
| shell: bash | |
| run: bash .lore/scripts/check-version-sync.sh | |
| - name: Fresh-clone smoke test | |
| shell: bash | |
| run: bash .lore/scripts/smoke-test.sh | |
| - name: Audit dependencies | |
| run: npm audit --omit=dev |