From 36089b4e9a811851e20de33a33202b1bdb33097c Mon Sep 17 00:00:00 2001 From: Akash Jag Date: Thu, 5 Feb 2026 16:21:25 -0800 Subject: [PATCH 1/3] fix(ci): update release workflow triggers and runner compatibility --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ce3fd1..a997181 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: Release on: - release: - types: [published] + push: + tags: + - 'v*' # SECURITY: Limit permissions at workflow level permissions: @@ -74,7 +75,7 @@ jobs: - os: macos-latest platform: darwin arch: arm64 - - os: macos-13 + - os: macos-latest platform: darwin arch: x64 - os: windows-latest @@ -89,6 +90,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: "22" + architecture: ${{ matrix.node_arch || '' }} - name: Install pnpm uses: pnpm/action-setup@v2 From 263c832edb643d1524dfbd3d1df32fffa1969e08 Mon Sep 17 00:00:00 2001 From: Akash Jag Date: Thu, 5 Feb 2026 16:26:28 -0800 Subject: [PATCH 2/3] fix: add node arch for x64 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a997181..6e1d95a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,6 +78,7 @@ jobs: - os: macos-latest platform: darwin arch: x64 + node_arch: x64 - os: windows-latest platform: win32 arch: x64 From cc2121fb3478e9207767b619d1036dde0758580f Mon Sep 17 00:00:00 2001 From: Akash Jag Date: Thu, 5 Feb 2026 16:36:38 -0800 Subject: [PATCH 3/3] fix: split setup-node into two steps --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e1d95a..62766e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,10 +88,17 @@ jobs: uses: actions/checkout@v4 - name: Setup Node.js + if: ${{ !matrix.node_arch }} uses: actions/setup-node@v4 with: node-version: "22" - architecture: ${{ matrix.node_arch || '' }} + + - name: Setup Node.js (x64 via Rosetta) + if: ${{ matrix.node_arch }} + uses: actions/setup-node@v4 + with: + node-version: "22" + architecture: ${{ matrix.node_arch }} - name: Install pnpm uses: pnpm/action-setup@v2