diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 983aa04..3b67c97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,3 +38,23 @@ jobs: - name: Verify npm package contents run: bun run pack:dry-run + + verify-darwin-x64: + runs-on: macos-15-intel + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: "1.3.9" + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Build compiled binary + run: bun run build + + - name: Verify compiled binary + run: bun run build:verify diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 320ef03..5a6392f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,6 @@ on: permissions: contents: write - id-token: write issues: write pull-requests: write @@ -327,6 +326,9 @@ jobs: # npm provenance rejects self-hosted runners, including Blacksmith. # Keep this trust-sensitive publish step on a GitHub-hosted runner. runs-on: ubuntu-latest + permissions: + contents: read + id-token: write needs: [semantic-release, publish-assets] if: needs.semantic-release.outputs.released == 'true' steps: