Skip to content

ci(npm): harden trusted publish runtime#30

Merged
3leapsdave merged 1 commit into
mainfrom
npm-trusted-publish-runtime
Jul 7, 2026
Merged

ci(npm): harden trusted publish runtime#30
3leapsdave merged 1 commit into
mainfrom
npm-trusted-publish-runtime

Conversation

@3leapsdave

@3leapsdave 3leapsdave commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Run the npm trusted-publishing job on Node 24 and hard-fail if Node is below 22.14.0 or npm is below 11.5.1.
  • Add a lint-time guard for the trusted-publishing runtime requirements and wire it into CI.
  • Update release/npm publishing docs for the runtime floor and publish-npm environment setup.

Verification

  • bash scripts/check-npm-trusted-publish-runtime.sh
  • shellcheck scripts/check-npm-trusted-publish-runtime.sh
  • actionlint .github/workflows/typescript-npm-publish.yml .github/workflows/ci.yml
  • git diff --check
  • make lint
  • pre-commit hook
  • pre-push hook

Raises the npm publish workflow runtime to Node 24 and validates the trusted publishing runtime floor before any publish or dry-run path. Adds a lint-time guard so future workflow edits keep Node and npm above npm trusted-publishing requirements.

Updates release and npm publishing documentation to reflect the runtime constraints and publish-npm environment setup.

Generated by GPT-5 Codex via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 Codex <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
@3leapsdave 3leapsdave force-pushed the npm-trusted-publish-runtime branch from 4a3020d to f85f76c Compare July 7, 2026 11:06
@3leapsdave 3leapsdave merged commit d5f294e into main Jul 7, 2026
18 checks passed
@3leapsdave 3leapsdave deleted the npm-trusted-publish-runtime branch July 7, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant