chore: add JSON formatting checks (#9) #23
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] | |
| concurrency: | |
| group: validate-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - run: npm ci --ignore-scripts | |
| - run: npm test | |
| - name: Validate Claude marketplace | |
| run: npx --yes @anthropic-ai/claude-code@2.1.259 plugin validate --strict . | |
| - name: Validate GitHub Agent Skills | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: gh skill publish --dry-run |