diff --git a/.github/workflows/prettier-if-needed.yml b/.github/workflows/prettier-if-needed.yml index da197ad9846..074f3369548 100644 --- a/.github/workflows/prettier-if-needed.yml +++ b/.github/workflows/prettier-if-needed.yml @@ -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 diff --git a/package.json b/package.json index 2404325139e..29023d663a5 100644 --- a/package.json +++ b/package.json @@ -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",