feat(installer): add CLI to install the Sentry plugin across AI agents #5
Workflow file for this run
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
| # Build the standalone installer binaries (Node SEA, via fossilize). | |
| # | |
| # Each target platform is built on its own native runner so the binary gets | |
| # native stripping, signing, and a V8 startup code cache — fossilize can | |
| # cross-build from a single host, but the host-only steps (code cache, codesign) | |
| # only apply to the host platform, so a native matrix yields better binaries. | |
| # | |
| # Binaries are uploaded as per-platform build artifacts on the workflow run. | |
| # This does not publish a release; it just makes the assets downloadable. | |
| name: Build installer | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "packages/installer/**" | |
| - ".github/workflows/build-installer.yml" | |
| pull_request: | |
| paths: | |
| - "packages/installer/**" | |
| - ".github/workflows/build-installer.yml" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: ${{ matrix.target }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: macos-latest | |
| target: darwin-arm64 | |
| - os: macos-13 | |
| target: darwin-x64 | |
| - os: ubuntu-latest | |
| target: linux-x64 | |
| - os: ubuntu-24.04-arm | |
| target: linux-arm64 | |
| - os: windows-latest | |
| target: win-x64 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: pnpm/action-setup@a15d269cd4658e1107c09f1fabf4cbd7bd1f308a # v4.4.0 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - name: Build binary | |
| working-directory: packages/installer | |
| run: pnpm build:bin | |
| - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: sentry-for-ai-${{ matrix.target }} | |
| path: packages/installer/dist-bin/index-* | |
| if-no-files-found: error |