mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-11 04:22:13 +00:00
[ci] Speed up CI with macos-14 (#11133)
- Before: [5m 38s](https://github.com/vercel/vercel/actions/runs/7831733256/job/21368857518?pr=11131) - After: [1m 23s](https://github.com/vercel/vercel/actions/runs/7836156637/job/21383185433?pr=11133) Learn more: https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
This commit is contained in:
2
.changeset/kind-penguins-add.md
Normal file
2
.changeset/kind-penguins-add.md
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
---
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -67,7 +67,7 @@ jobs:
|
||||
node-version: ${{ matrix.nodeVersion || env.NODE_VERSION }}
|
||||
|
||||
- name: Install Hugo
|
||||
if: matrix.runner == 'macos-latest'
|
||||
if: matrix.runner == 'macos-14'
|
||||
run: curl -L -O https://github.com/gohugoio/hugo/releases/download/v0.56.0/hugo_0.56.0_macOS-64bit.tar.gz && tar -xzf hugo_0.56.0_macOS-64bit.tar.gz && mv ./hugo packages/cli/test/dev/fixtures/08-hugo/
|
||||
|
||||
# yarn 1.22.21 introduced a Corepack bug when running tests.
|
||||
|
||||
6
utils/chunk-tests.js
vendored
6
utils/chunk-tests.js
vendored
@@ -9,7 +9,7 @@ const runnersMap = new Map([
|
||||
min: 1,
|
||||
max: 1,
|
||||
testScript: 'vitest-unit-run',
|
||||
runners: ['ubuntu-latest', 'macos-latest', 'windows-latest'],
|
||||
runners: ['ubuntu-latest', 'macos-14', 'windows-latest'],
|
||||
},
|
||||
],
|
||||
[
|
||||
@@ -18,7 +18,7 @@ const runnersMap = new Map([
|
||||
min: 1,
|
||||
max: 1,
|
||||
testScript: 'test',
|
||||
runners: ['ubuntu-latest', 'macos-latest', 'windows-latest'],
|
||||
runners: ['ubuntu-latest', 'macos-14', 'windows-latest'],
|
||||
},
|
||||
],
|
||||
[
|
||||
@@ -52,7 +52,7 @@ const runnersMap = new Map([
|
||||
min: 1,
|
||||
max: 7,
|
||||
testScript: 'test',
|
||||
runners: ['ubuntu-latest', 'macos-latest'],
|
||||
runners: ['ubuntu-latest', 'macos-14'],
|
||||
},
|
||||
],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user