Repository navigation
ci: add additional validation steps with gh skill publish and claude … #2
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-dotnet@v6 | |
| with: | |
| global-json-file: global.json | |
| - run: dotnet run --project tools/GuidedCoding.ClaudeGenerator --configuration Release -- --check | |
| - run: dotnet test --configuration Release | |
| - name: Validate Agent Skills package | |
| run: gh skill publish --dry-run | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Validate Claude Code plugin | |
| env: | |
| DISABLE_AUTOUPDATER: "1" | |
| run: npx --yes @anthropic-ai/claude-code@latest plugin validate . --strict |