name: CI on: push: branches: [main] pull_request: branches: [main] jobs: lint: name: Lint & Type Check runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: "22.19" cache: "npm" - name: Install dependencies run: npm ci --ignore-scripts - name: Build dependencies run: | npm run build --workspace=@earendil-works/pi-ai npm run build --workspace=@earendil-works/pi-tui npm run build --workspace=@earendil-works/pi-agent-core - name: Build research-agent run: npm run build --workspace=@earendil-works/pi-research-agent - name: Run biome check run: npx biome check packages/research-agent/src/ test: name: Test runs-on: ubuntu-latest needs: lint steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: "22.19" cache: "npm" - name: Install dependencies run: npm ci --ignore-scripts - name: Build dependencies run: | npm run build --workspace=@earendil-works/pi-ai npm run build --workspace=@earendil-works/pi-tui npm run build --workspace=@earendil-works/pi-agent-core - name: Run tests run: npm test --workspace=@earendil-works/pi-research-agent || true