docs/getting-started/introduction.mdx
$ curl -sL https://raw.githubusercontent.com/pmndrs/docs/refs/heads/main/preview.sh | \
MDX="docs" \
ICON="🥑" \
DOCKER_IMAGE="ghcr.io/pmndrs/docs:latest" \
sh- you can pass any option from configuration
- in
DOCKER_IMAGE, you can specify any:tagvalue from docs packages container registry
Every push to main redeploys docs.pmnd.rs via ci.yml — no changeset needed for that.
Add one (pnpm changeset) only when downstream consumers pinning pmndrs/docs/.github/workflows/build.yml@v3 or ghcr.io/pmndrs/docs:v3 should pull the change. It bumps package.json, tags vX.Y.Z + vX, and publishes a matching Docker image — so @v3 resolves to the latest.
TL;DR — site-only tweak: skip. Anything consumers see (workflow, build behavior, templates): add one.
Visual tests are performed in the cloud, through chromatic.yml.
Details
You can also replay locally:
$ npx playwright test --update-snapshots
$ npx chromatic --playwright --project-token $CHROMATIC_PROJECT_TOKEN