feat: update all server definitions with correct info, add Playwright… #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: Build Bundle | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "servers/**" | |
| - "categories.json" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build and Upload Bundle | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Validate all server definitions | |
| run: npm run validate:all | |
| - name: Build bundle | |
| run: npm run build | |
| - name: Upload bundle artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: bundle | |
| path: bundle/bundle.json | |
| retention-days: 90 | |
| - name: Upload bundle to R2 | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| command: r2 object put mcpmux-registry/bundle/latest.json --file bundle/bundle.json --content-type application/json |