-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Run prettier in repo-policy-check pipeline (#14703)
There's a gap in our prettier coverage in CI. If you edit a file in the root, or, say, the `scripts` folder, it won't trigger a CI job that includes prettier. The reason is that the client release group pipeline is responsible for running prettier on the root files, but it's not triggered by edits outside the client release group/pipeline. There is a CI pipeline that runs on every PR: repo-policy-check. I fixed this by adding a step to that pipeline that runs `npm run prettier:root`. I also added pnpm store caching to the repo-policy-check job and removed the layer-check and policy-check from the client pipeline since those checks are repo-wide and done already in repo-policy-check.
- Loading branch information
1 parent
030265a
commit 713cbc1
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters