chore: checkpoint package metadata #323
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: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Checkout agentos core (peer dependency) | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: framersai/agentos | |
| path: packages/agentos | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: pnpm install --no-frozen-lockfile | |
| - name: Build agentos core | |
| # `--ignore-workspace` is required because the agentos-extensions | |
| # pnpm-workspace.yaml at the repo root does not list packages/agentos | |
| # (it's a sibling clone, not a workspace member). Without the flag, | |
| # pnpm walks up to the root workspace, sees agentos isn't a member, | |
| # and silently no-ops — leaving packages/agentos/node_modules absent | |
| # and the build's `rimraf` clean step fails with "command not found". | |
| run: cd packages/agentos && pnpm install --no-frozen-lockfile --ignore-workspace && pnpm run build | |
| - name: Build extensions | |
| run: pnpm run build | |
| - name: Test extensions (skip agentos core tests — tested upstream) | |
| run: pnpm -r --filter '!@framers/agentos' --if-present run test |