feat: add TypeScript CLI (omv setup / doctor) #4
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: validate | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| cli: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build CLI | |
| run: npm run build | |
| - name: Typecheck | |
| run: npm run typecheck | |
| skill: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate skill structures | |
| run: python3 scripts/validate_skill.py | |
| - name: Run release packaging check | |
| run: python3 scripts/release_check.py | |
| - name: Build and validate omv-find package | |
| run: bash scripts/package_skill.sh skills/omv-find "$RUNNER_TEMP/omv-find.skill" | |
| - name: Build and validate omv-report package | |
| run: bash scripts/package_skill.sh skills/omv-report "$RUNNER_TEMP/omv-report.skill" | |
| - name: Check golden invalid-flags eval | |
| run: python3 skills/omv-find/scripts/check_output.py --eval-id 26 --output skills/omv-find/evals/golden/invalid-flags.md | |
| - name: Check omv-report blocked handoff golden eval | |
| run: python3 skills/omv-report/scripts/check_output.py --eval-id 4 --output skills/omv-report/evals/golden/blocked-handoff.md | |
| - name: Check omv-report OSV golden eval | |
| run: python3 skills/omv-report/scripts/check_output.py --eval-id 5 --output skills/omv-report/evals/golden/osv-prototype-pollution.json | |
| - name: Check omv-report duplicate CNA golden eval | |
| run: python3 skills/omv-report/scripts/check_output.py --eval-id 7 --output skills/omv-report/evals/golden/duplicate-cna-warning.md |