Skip to content

Publish on NPM via GHA Trusted Publishing#128

Merged
mourner merged 1 commit into
masterfrom
npm-trusted-publish
Jun 25, 2026
Merged

Publish on NPM via GHA Trusted Publishing#128
mourner merged 1 commit into
masterfrom
npm-trusted-publish

Conversation

@mourner

@mourner mourner commented Jun 25, 2026

Copy link
Copy Markdown
Member

Adds a minimal GitHub Actions workflow for publishing on NPM via Trusted Publishing. Supercedes #126.

Configuring the environment:

  • GitHub repo settings → Environments → New environment → npm-release
  • Selected branches and tags → Add rule → Ref type: Tag -> v*

Releasing with this workflow:

  • npm version <major|minor|patch>
  • Get the PR green, approved and merged.
  • Once everything looks good, git push --tags to release.

@mourner mourner requested a review from stepankuzmin June 25, 2026 08:33
@mourner mourner requested a review from a team as a code owner June 25, 2026 08:33
@mourner mourner force-pushed the npm-trusted-publish branch from 5ec7b66 to 27b62df Compare June 25, 2026 08:41
@mourner mourner force-pushed the npm-trusted-publish branch from 27b62df to e536577 Compare June 25, 2026 09:02
@mourner mourner merged commit e536577 into master Jun 25, 2026
2 checks passed
@mourner mourner deleted the npm-trusted-publish branch June 25, 2026 09:12
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.

2 participants