Files
Michael D'Angelo 590e3909a0 ci(release): share npm setup and verification (#2476)
* ci(release): share npm setup and verification

Use the same local composite action after checkout in both release jobs. Keep the Node and registry settings, Socket Firewall installation and next-step PATH verification in one place. Each job retains its own checkout, credentials and publication controls. Existing tags continue to use the workflow in their release commit. No public interface migration is required.

Both release suites pass (318 tests), including 312 tests with the separate bootstrap and release-history changes applied. Five mocked setup runs checked success and failures during installation, version validation and executable selection. Compared workflow selection for npm-v0.8.2 and npm-v0.8.3 and linted both workflows. These checks did not dispatch a release or publish a package.

* ci(release): scope the workflow lint exception to the verified npm path

Moving the shared setup into a composite action brings its existing PATH write under the github-env audit. Both release jobs install the pinned npm from the firewall, verify the executable in a fixed directory under RUNNER_TEMP and recheck it on PATH in the next step. Explain that input on the installation step.

Reproduced the initial diagnostic with zizmor 1.30.1. Its repository-wide workflow check now passes, and it still reports an unchecked PATH write added to a neighboring fixture step. Both release automation and release PR suites pass (429 tests).
2026-11-09 04:07:40 -08:00
..