Skip to content

Commit 39aed39

Browse files
committed
ci: use macos-15-latest runner for Intel macOS builds
1 parent 3845477 commit 39aed39

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os:
17-
- macos-latest
17+
- macos-15-intel
1818
- ubuntu-latest
1919
- windows-latest
2020
arch:
@@ -35,16 +35,12 @@ jobs:
3535
environment: release
3636
steps:
3737
- run: git config --global core.autocrlf input
38-
- name: Install Rosetta
39-
if: ${{ startsWith(matrix.os, 'macos-') && matrix.arch == 'x64' }}
40-
run: /usr/sbin/softwareupdate --install-rosetta --agree-to-license
4138
- name: Checkout
4239
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4340
- name: Setup Node.js
4441
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4542
with:
4643
node-version: '22.17.x'
47-
architecture: ${{ startsWith(matrix.os, 'macos-') && matrix.arch == 'x64' && 'x64' || env.RUNNER_ARCH }}
4844
- run: yarn install --immutable
4945
- run: yarn run contributors
5046
env:

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os:
22-
- macos-latest
22+
- macos-15-intel
2323
- ubuntu-latest
2424
- windows-latest
2525
arch:
@@ -32,17 +32,13 @@ jobs:
3232
runs-on: "${{ matrix.os }}"
3333
steps:
3434
- run: git config --global core.autocrlf input
35-
- name: Install Rosetta
36-
if: ${{ matrix.os == 'macos-latest' && matrix.arch == 'x64' }}
37-
run: /usr/sbin/softwareupdate --install-rosetta --agree-to-license
3835
- name: Checkout
3936
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4037
- name: Setup Node.js
4138
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4239
with:
4340
node-version: '22.17.x'
4441
cache: 'yarn'
45-
architecture: ${{ matrix.os == 'macos-latest' && matrix.arch == 'x64' && 'x64' || env.RUNNER_ARCH }}
4642
- name: Install dependencies
4743
run: yarn --immutable
4844
- run: yarn run contributors

0 commit comments

Comments
 (0)