fix: resolve type errors and add type checking to CI #12
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 Skills | |
| on: | |
| pull_request: | |
| paths: | |
| - 'packages/intent/skills/**' | |
| - 'packages/intent/package_map.yaml' | |
| - 'scripts/validate-skills.ts' | |
| jobs: | |
| validate: | |
| name: Validate skill files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: npm install yaml | |
| - name: Run validation | |
| run: npx tsx scripts/validate-skills.ts |