mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-09-20 11:01:30 +00:00
CI already disables npm lifecycle scripts, but ordinary installs from the repository still run them. Add `.npmrc` defaults that disable those scripts and apply the same seven-day `min-release-age` policy used by `setup-uv`. Require npm `11.10.0` or newer through `devEngines` so older versions cannot silently ignore the age setting. Explicit project commands such as `npm run package` remain available. Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
3 lines
42 B
Plaintext
3 lines
42 B
Plaintext
ignore-scripts = true
|
|
min-release-age = 7
|