Skip to content

Commit

Permalink
chore(ci): fix prettier --write (#5740)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Feb 15, 2024
1 parent b20f121 commit 2b00589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prettier-if-needed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
path: node_modules/.cache/prettier/.prettier-cache
key: prettier-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm prettier -- --write
- run: pnpm chore:format:fix
- name: GitHub blocks PRs from automation that alter workflows in any way
run: git restore .github/workflows pnpm-lock.yaml
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"check:test": "run-s test -- --silent",
"check:types": "tsc --build",
"chore:format:fix": "prettier --cache --write .",
"chore:lint:fix": "pnpm check:lint -- --quiet --fix",
"chore:lint:fix": "turbo run lint -- --quiet --fix",
"chore:normalize-versions": "node -r esbuild-register scripts/normalizeDependencyVersions.ts",
"clean": "run-s build:clean clean:deps",
"clean:deps": "rimraf packages/@sanity/*/node_modules packages/*/node_modules node_modules",
Expand Down

0 comments on commit 2b00589

Please sign in to comment.