···4444 echo "Generating: $example_name"
4545 set -e
4646 cd "$dir"
4747- echo "-> Running pnpm openapi-ts"
4848- pnpm openapi-ts
4747+ echo "-> Running pnpm -s exec openapi-ts"
4848+ # Use `pnpm exec` so the CLI binary from the workspace is resolved in CI
4949+ pnpm -s exec openapi-ts
49505051 # Format generated files in this example only to keep the step fast
5152 if command -v pnpm >/dev/null 2>&1 && pnpm -w -s --version >/dev/null 2>&1; then