Skip to content

chore(phrase-js): use trusted npm publishing #SCD-552#1051

Merged
BlumMichael merged 1 commit intomainfrom
scd-552-trusted-npm-publishing
Feb 13, 2026
Merged

chore(phrase-js): use trusted npm publishing #SCD-552#1051
BlumMichael merged 1 commit intomainfrom
scd-552-trusted-npm-publishing

Conversation

@BlumMichael
Copy link
Contributor

Fixes the phrase-js release workflow to work with trusted npm publishing and restores tag-based publishing.

phrase-js releases are triggered by push on tags, but the workflow used github.event.release.tag_name for the release tag. That field is not present on push events, which can break release creation and block npm publishing.

Also updated to node LTS version 22, because it is a requirement for OIDC to work:
https://docs.npmjs.com/trusted-publishers

Note: Trusted publishing requires [npm CLI](https://docs.npmjs.com/cli/v11) version 11.5.1 or later and Node version 22.14.0 or higher.

Ticket:
https://phrase.atlassian.net/browse/SCD-552

@BlumMichael BlumMichael changed the title Chore: (SCD-552) - use trusted npm publishing chore(phrase-js) use trusted npm publishing #SCD-552 Feb 12, 2026
@BlumMichael BlumMichael changed the title chore(phrase-js) use trusted npm publishing #SCD-552 chore(phrase-js): use trusted npm publishing #SCD-552 Feb 12, 2026
@BlumMichael BlumMichael requested a review from forelabs February 12, 2026 15:33
@BlumMichael BlumMichael merged commit b18bb40 into main Feb 13, 2026
11 of 13 checks passed
@BlumMichael BlumMichael deleted the scd-552-trusted-npm-publishing branch February 13, 2026 14:49
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