Skip to content

npm: migrate to trusted-publishers/oidc token #123

@ReenigneArcher

Description

@ReenigneArcher

Is there an existing issue for this item?

  • I have searched the existing issues

Repositories

LizardByte/contribkit, LizardByte/shared-web, LizardByte/gamepad-helper

Languages/Skills/Technologies

GitHub actions, Bash/Shell/Scripting

Description

npm is removing the ability to use long lived tokens (https://github.blog/changelog/2025-09-29-strengthening-npm-security-important-changes-to-authentication-and-token-management/); however they have added a trusted publishers option (similar to PyPi) that allows publishing from trusted GitHub workflows.

I have already made the required changes on npmjs, so no publishing will occur until the changes are made on the GitHub side.

We should also change the publishing to occur when a release is published instead of on every push event.

For each repo:

Estimated Effort

effort:Medium

Priority

priority:Critical

Target Milestone

1-3 months

Dependencies

No response

Metadata

Metadata

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions