Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run full prettier in CI #2713

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Run full prettier in CI #2713

merged 2 commits into from
Sep 22, 2023

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Sep 22, 2023

Avoid badly formatted files from entering the code base at any time

@Janpot Janpot added the core Infrastructure work going on behind the scenes label Sep 22, 2023
@Janpot Janpot marked this pull request as ready for review September 22, 2023 15:44
@Janpot Janpot merged commit cfa489a into mui:master Sep 22, 2023
10 checks passed
@Janpot Janpot deleted the full-prettier branch September 22, 2023 16:08
@@ -120,7 +120,7 @@ jobs:
- install_js
- run:
name: '`yarn prettier` changes committed?'
command: yarn prettier --check
command: yarn prettier:all --check
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise it fails on the next step: https://app.circleci.com/pipelines/github/mui/mui-toolpad/10406/workflows/ed6e5232-f8d3-42e2-8f00-44e4e25b2375/jobs/45735

Suggested change
command: yarn prettier:all --check
command: |
yarn prettier:all --check
git add -A && git diff --exit-code --staged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants