Repository navigation
release: 1.1.0 #7
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: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: { node-version: 22 } | |
| - name: Spec lint (name/dir, description, size, cross-refs) | |
| run: node evals/lint-skills.mjs | |
| - name: TanStack Intent validate | |
| run: npx -y @tanstack/intent@latest validate | |
| - name: Pack dry-run | |
| run: npm pack --dry-run | |
| - name: skills.sh discovery sees every skill | |
| run: | | |
| out=$(CI=1 npx -y skills@latest add "$PWD" --list 2>&1 | sed -E 's/\x1b\[[0-9;?]*[A-Za-z]//g') | |
| n=$(printf '%s\n' "$out" | grep -oE 'Found [0-9]+ skills' | grep -oE '[0-9]+' | head -1) | |
| want=$(ls -d skills/*/ | wc -l | tr -d ' ') | |
| echo "skills CLI found ${n:-0} skills, repo has $want" | |
| [ "${n:-0}" -eq "$want" ] || { printf '%s\n' "$out" | tail -40; exit 1; } |