持续集成
在 CI 环境中运行 Biome 很容易。查看 以了解哪些编辑器支持 Biome。
¥Running Biome in a CI environment is easy. Check out the following examples for some inspiration.
GitHub Actions
Section titled GitHub Actions我们提供第一方 GitHub 操作 来在你的运行器中设置 Biome。以下是简单的工作流程可能的外观:
¥We provide a first-party GitHub Action to setup Biome in your runner. Here’s what a simple workflow might look like:
第三方操作
Section titled 第三方操作¥Third-party actions
这些是其他社区维护的操作,你可以在运行器中使用:
¥These are actions maintained by other communities, that you use in your runner:
-
reviewdog-action-biome:使用 reviewdog 运行 Biome 并对拉取请求发表评论和提交建议。
¥reviewdog-action-biome: run Biome with reviewdog and make comments and commit suggestions on the pull request.