nodejs / nodejs/undici

Automate version publishing

Open
#2,280 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
7.7k
Forks
880
Avg merge
2d 16h
Merged PRs (30d)
68

Description

This would solve...

Related: #2277

Currently, four maintainers have the ability to publish undici. This has been working well for awhile, but there are a number of steps that we must do (that we don't even document). They include:

  • Tagging version commit
  • Pushing version bump to main including tags
  • Creating a GitHub release

The implementation should look like...

We should utilize some level of automation to completely publish new version of undici (and subsequently undici-types).

I'm open to solutions but I think GitHub Actions is our best bet.

I have also considered...

I've used changesets a lot with work. It's mainly for monorepos, but I imagine it could be used for this too.

Additional context

At work we actually go a step further. No developers are allowed to publish to npm directly. Publish is only allowed by Bot users, and it must be configured through an automatic process in GitHub Actions. I think limiting us in that way is a step too far, but using a bot user for the publishing would be good.

Contributor guide

Open the contributing guide

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.

Research direction

Start with related issue #2277 and review how the repository currently tags the version commit, pushes the version bump to main, and creates a GitHub release. The work is done when publishing undici and undici-types is automated, including the listed release steps; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd, devops, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.