[code-infra] Deduplicate vale script by brijeshb42 · Pull Request #48385 · mui/material-ui (original) (raw)
Mirrors https://github.com/mui/base-ui-mosaic/pull/218.
Also removes the unused Vale cache step: vale-action installs the binary to /home/runner/vale/, not node_modules/.cache/mui-vale, so the cache step never populated and produced a Path Validation Error in the post-step.