Merge pull request #6 from automata-network/frontend-testing #25
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 Plugins | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Claude Code CLI | |
| run: | | |
| npm install -g @anthropic-ai/claude-code | |
| claude --version | |
| - name: Validate marketplace | |
| run: | | |
| echo "Validating marketplace..." | |
| claude plugin validate . | |
| - name: Validate individual plugins | |
| run: | | |
| echo "Validating each plugin individually..." | |
| for plugin_dir in plugins/*/; do | |
| if [ -d "$plugin_dir" ]; then | |
| plugin_name=$(basename "$plugin_dir") | |
| echo "Validating plugin: $plugin_name" | |
| claude plugin validate "$plugin_dir" | |
| fi | |
| done | |
| - name: Summary | |
| if: success() | |
| run: echo "✅ All validation checks passed!" |