Skip to content

ci: publish to npm via trusted publishing (OIDC)#1171

Merged
andrejak merged 1 commit into
mainfrom
andreja/tsp-1427-move-duffelapi-publishing-in-ci-to-use-trusted-publishers
Jun 9, 2026
Merged

ci: publish to npm via trusted publishing (OIDC)#1171
andrejak merged 1 commit into
mainfrom
andreja/tsp-1427-move-duffelapi-publishing-in-ci-to-use-trusted-publishers

Conversation

@andrejak

@andrejak andrejak commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Replace the long-lived NPM_TOKEN with npm trusted publishing. Adds the id-token: write permission, upgrades semantic-release to v24 and pins @semantic-release/npm@13 for OIDC support, and upgrades the npm CLI in CI to meet the >=11.5.1 requirement.

I've set up trusted publisher here: https://www.npmjs.com/package/@duffel/api/access

Replace the long-lived NPM_TOKEN with npm trusted publishing. Adds the
id-token: write permission, upgrades semantic-release to v24 and pins
@semantic-release/npm@13 for OIDC support, and upgrades the npm CLI in CI
to meet the >=11.5.1 requirement.

Co-authored-by: Cursor <cursoragent@cursor.com>
@andrejak andrejak marked this pull request as ready for review June 9, 2026 10:45
@andrejak andrejak requested a review from a team as a code owner June 9, 2026 10:45
@andrejak andrejak merged commit c88dd32 into main Jun 9, 2026
5 checks passed
@andrejak andrejak deleted the andreja/tsp-1427-move-duffelapi-publishing-in-ci-to-use-trusted-publishers branch June 9, 2026 12:24
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