feat(commands): /reseed-persona — re-apply persona from chat #78
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, 'rel/**'] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install build prerequisites | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y python3 build-essential | |
| # The @ontofelia/reasoner native addon is compiled from src/lib.rs at | |
| # build time — its .node binary is no longer committed — so CI needs a | |
| # Rust toolchain. rust-cache keeps the ~1-2 min cargo build off the hot | |
| # path on unchanged branches. | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: packages/reasoner | |
| # pnpm version comes from package.json "packageManager" (pnpm@9.0.0). | |
| # Do NOT also set `version:` here — action-setup@v4 errors on a conflict. | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm build | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Test | |
| run: pnpm test | |
| - name: Smoke test | |
| run: pnpm smoke |