Skip to content

Commit c602c75

Browse files
committed
chore: use native intel runner
1 parent b050f52 commit c602c75

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ on:
1414
jobs:
1515
build-macos:
1616
name: Build macOS (${{ matrix.arch }})
17-
runs-on: macos-latest
17+
runs-on: ${{ matrix.arch == 'x64' && 'macos-13' || 'macos-latest' }}
1818
strategy:
1919
matrix:
2020
arch: [arm64, x64]
21-
defaults:
22-
run:
23-
shell: ${{ matrix.arch == 'x64' && 'arch -x86_64 /bin/bash -e {0}' || 'bash' }}
2421

2522
steps:
2623
- name: Checkout code
@@ -38,7 +35,7 @@ jobs:
3835
echo "ERROR: Expected x86_64 architecture but got $CURRENT_ARCH"
3936
exit 1
4037
fi
41-
echo "✓ Architecture verified: Running as x86_64 under Rosetta"
38+
echo "✓ Architecture verified: Running as native x86_64 on Intel hardware"
4239
elif [[ "${{ matrix.arch }}" == "arm64" ]]; then
4340
if [[ "$CURRENT_ARCH" != "arm64" ]]; then
4441
echo "ERROR: Expected arm64 architecture but got $CURRENT_ARCH"
@@ -57,7 +54,6 @@ jobs:
5754
with:
5855
node-version: '24'
5956
cache: 'pnpm'
60-
architecture: ${{ matrix.arch }}
6157

6258
- name: Log Node.js architecture and platform
6359
run: |

0 commit comments

Comments
 (0)