Skip to content

Releases: lowlydba/sustainable-npm

v3.0.0

21 Mar 15:19
31d5102

Choose a tag to compare

🚨 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

15 Jan 15:59

Choose a tag to compare

🚀 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

24 Nov 18:04
a22e435

Choose a tag to compare

What's Changed

Full Changelog: v.1.1.1...v1.1.2

v.1.1.1

21 Oct 16:09
3159717

Choose a tag to compare

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

15 Feb 17:18
5b435e9

Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1

v1.1.0

12 Feb 21:35

Choose a tag to compare

Minor enhancements: Add formatting to action output for readability.

v1.0.0

12 Feb 21:20
64098a9

Choose a tag to compare

First release of Sustainable npm! 🎉