Skip to content

Support NPM security changes with trusted publisher tokens #2745

@jpraynaud

Description

@jpraynaud

Why

NPM is changing their authentication system and requires that we update our CI workflows before November, 1st. We need to update our CI to be compliant with their new authentication system as detailed in this guide.

What

Update the CI to the new NPM authentication system.

How

  • Declare Mithril repository workflows in the NPM website (trust publisher): (@jpraynaud)
    • ci.yml (check if this is needed)?
    • pre-release.yml
    • release.yml
  • Adapt the .github/workflows/actions/publish-npm-package action for:
    • ci.yml
    • pre-release.yml
    • release.yml
  • Remove NPM_API_TOKEN_MITHRIL_CLIENT_WASM in GitHub environment secrets (@jpraynaud)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions