Releases: lowlydba/sustainable-npm
v3.0.0
🚨 Breaking Changes
v3 adds a new ignore-scripts input, with a default of true. npm lifecycle scripts such as postinstall will now be skipped unless explicitly re-enabled. If your workflow depends on install scripts from trusted packages, set ignore-scripts: 'false' to preserve previous behavior.
This was done to maintain security by default on the action, in addition to further reducing unnecessary npm install activities in CI.
What’s Changed
Add v2 release + docs updates by @lowlydba in https://github.com//pull/12
Add script skips by @lowlydba in https://github.com//pull/13
Full Changelog
https://github.com/lowlydba/sustainable-npm/compare/v2...v3.0.0
v2.0.0
🚀 What's New
Breaking Change: Debug-Only Configuration Output
The npm configuration output step now only executes when debug logging is enabled (RUNNER_DEBUG == 'true'). This change reduces unnecessary CPU processing and log noise in standard CI runs, further aligning with sustainable-npm's core mission.
🌱 Sustainability Improvements
By eliminating the automatic printing of npm configs on every run, we reduce:
- CPU cycles spent on unnecessary output generation
- Log storage overhead in CI systems
- Network bandwidth for log transmission and storage
- This small optimization contributes to lower energy consumption across thousands of CI runs.
📋 Migration Guide
If you were relying on the npm config output from previous versions, you can enable debug logging at the workflow or step level to revert to previous behavior.
v1.1.2
What's Changed
- Update README.md by @lowlydba in #9
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #10
Full Changelog: v.1.1.1...v1.1.2
v.1.1.1
What's Changed
- feat: add duration tests for full installs by @lowlydba in #4
- chore(deps): bump super-linter/super-linter from 7 to 8 by @dependabot[bot] in #5
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #6
- chore(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #7
- chore(deps): bump actions/setup-node from 5 to 6 by @dependabot[bot] in #8
Full Changelog: v1...v.1.1.1
v1
What's Changed
Full Changelog: v1.1.0...v1
v1.1.0
Minor enhancements: Add formatting to action output for readability.
v1.0.0
First release of Sustainable npm! 🎉