diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 58c6d6248..f62620be8 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -60,12 +60,6 @@ jobs: with: msg: apply code formatting and linting auto-fixes - - name: eslint - run: pnpm run eslint - - - name: tsc - run: pnpm run tsc - - name: ruff run: uv run --active ruff check @@ -76,3 +70,12 @@ jobs: run: | export COMMANDLINE_ARGS="${{ matrix.flags }}" uv run python launch.py + + - name: pre-commit-run + run: uv run --active pre-commit run --all-files + + - name: eslint + run: pnpm run eslint + + - name: tsc + run: pnpm run tsc diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ace608f63..09adac6af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,4 +51,4 @@ repos: - id: indents-to-spaces args: ["--spaces=2"] types: [file] - files: \.(json|js|mjs|css|html|md|yaml|toml|sh)$ + files: \.(json|js|css|html|md|yaml|toml|sh)$