Repository navigation
Use the Sentry Link parser for MCP pagination (#1436) #983
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: Post-merge tasks | |
| on: | |
| push: | |
| branches: ["main", "release/*", "release/mcp/**"] | |
| workflow_dispatch: | |
| jobs: | |
| build-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: 'package.json' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build | |
| run: pnpm --filter '@sentry/mcp-server...' --if-present run build | |
| - name: Run linter | |
| run: pnpm lint | |
| - name: Run tests | |
| run: pnpm test:ci | |
| - name: Package mcp-server | |
| working-directory: packages/mcp-server | |
| run: pnpm pack --pack-destination dist | |
| - name: Archive artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ github.sha }} | |
| path: | | |
| ${{ github.workspace }}/packages/mcp-server/dist/*.tgz | |
| - name: Publish Test Report | |
| uses: mikepenz/action-junit-report@cf701569b05ccdd861a76b8607a66d76f6fd4857 | |
| if: ${{ !cancelled() }} | |
| with: | |
| report_paths: "**/*.junit.xml" | |
| comment: false |