feat(fleet): enforce Octopool cache health #276
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: | |
| smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: skills/video-transcript-downloader/package-lock.json | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.14 | |
| - name: Check shell helper syntax | |
| run: | | |
| find skills -path '*/scripts/*' -type f -print0 | | |
| while IFS= read -r -d '' script; do | |
| if head -n 1 "$script" | grep -q 'bash'; then | |
| bash -n "$script" | |
| fi | |
| done | |
| - name: Test ClawSweeper status helper | |
| run: skills/clawsweeper-status/scripts/clawsweeper-status.test.sh | |
| - name: Test maintainer orchestrator worker boundary | |
| run: scripts/test-maintainer-orchestrator-policy | |
| - name: Build browser helper | |
| run: | | |
| bun install --frozen-lockfile | |
| bun build scripts/browser-tools.ts --compile --target bun --outfile /tmp/browser-tools | |
| /tmp/browser-tools --help | |
| - name: Install video transcript downloader dependencies | |
| working-directory: skills/video-transcript-downloader | |
| run: npm ci | |
| - name: Smoke video transcript downloader | |
| working-directory: skills/video-transcript-downloader | |
| run: | | |
| node -e "import('youtube-transcript-plus').then(m => { if (typeof m.YoutubeTranscript?.fetchTranscript !== 'function') process.exit(1); })" | |
| ./scripts/vtd.js transcript --help |