跳到正文
Vercel Blog(vercel.com)· Anthony Shew·· 4 小時前精選AI 評分65

Vercel CI 進入測試版

Vercel CI is now in beta

AI 導讀

Vercel CI 現已進入測試版,使用者只需在 turbo.json 加入 ci 標籤,即可在每次推送時自動執行 CI。

推薦理由

Vercel CI 以簡單配置提升 Turborepo CI 效率,讓開發者能快速驗證程式碼變更,並將等待時間縮短 2-6 倍。

正文 · 原文

You can now run CI for your Turborepo with one line of configuration.

turbo.json

{

"tasks": {

"lint": {

"tags": ["ci"]

}

}

}

Use tags to make a task run in Vercel CI.

In Vercel's internal repositories, our wait time from git push to "CI passed" is 2-6x shorter, dramatically improving our CI's ability to keep up with our coding agents.

To get started, prompt your agent in your repo:

Each task marked with a ci tag runs on every push. Vercel CI automatically takes care of:

  • Only running CI that is affected by your code changes

  • Task caching with Vercel Remote Cache

  • Installing dependencies once per run

  • Caching dependencies across code updates

To learn more:

來源: Vercel Blog (vercel.com)
開啟原文