Skip to content

Upcoming change‐‐The build task will no longer run formatting and check tasks

Abram Sanderson edited this page Jul 19, 2023 · 1 revision

Historically, the build script has implicitly run the policy-check, layer-check, and format scripts. Soon, this behavior will change and the build script will only run build-related scripts. The other checks can be run using the checks script. If you prefer the old behavior, you can use the build:all script.

History

In PR #15992, the formatting and other repo-level "checks" have been separated from the standard build tasks. There is a new "checks" script in the root package.json which runs all the CI checks locally, including the syncpack and prettier tasks. This script is meant to be run locally to execute all the non-build-blocking checks that we do in CI. However, in CI these checks all still execute separately and serially, so it's easier to "zoom in" on a failure and fix it without running all checks (some checks, like prettier, can take significant time).

Clone this wiki locally