Move release/0.1's npm publish to trusted publishing

Open Beginner friendly
#133 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, typescript
Domain
ci-cd, release

Research direction

Read .github/workflows/publish.yml on release/0.1 and compare its npmjs job with the change in #132. Port the trusted publishing changes described in the issue, then check the CONTRIBUTING release section for the release/0.1 line. Done when the workflow uses the specified OIDC setup and the obsolete release instruction is removed; deleting the repository secret also requires repository settings access.

Written by the indexing model from the issue text.

Description

#132 moved main's publish.yml to npm trusted publishing (OIDC). release/0.1's own publish.yml still runs npm whoami and npm publish with NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} (origin/release/0.1 .github/workflows/publish.yml:159-177), and that token expired (E401 on 2026-11-04).

  • Port the npmjs job change from #132 to release/0.1 (drop the whoami step and NODE_AUTH_TOKEN, keep id-token: write and the release environment).
  • npmjs's trusted publisher already trusts publish.yml in release, which covers a run from any branch.
  • After that, delete the NPM_TOKEN repository secret and remove the release/0.1 line from CONTRIBUTING's release section.
Dominant language
TypeScript
Stars
2
Forks
0
Avg merge
17h 58m
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lablup/ui-common

All issues in lablup/ui-common

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.