Skip to content

Commit f18e65d

Browse files
authored
Enforce docs images are tinified (#1712)
1 parent d1615df commit f18e65d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989
name: site
9090
path: site
9191

92+
# check all docs images are tinified, You'll need an API key from https://tinify.com/ to fix this if it fails
93+
- run: uvx tinicly docs --check
94+
9295
test-live:
9396
runs-on: ubuntu-latest
9497
timeout-minutes: 5

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Documentation = "https://ai.pydantic.dev"
6060
Changelog = "https://github.com/pydantic/pydantic-ai/releases"
6161

6262
[project.scripts]
63-
pai = "pydantic_ai._cli:cli_exit" # TODO remove this when clai has been out for a while
63+
pai = "pydantic_ai._cli:cli_exit" # TODO remove this when clai has been out for a while
6464

6565
[tool.uv.sources]
6666
pydantic-ai-slim = { workspace = true }

0 commit comments

Comments
 (0)