Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further automate publishing of undici-types using GitHub Actions workflow #2290

Merged
merged 4 commits into from
Oct 2, 2023

Conversation

Ethan-Arrowood
Copy link
Collaborator

This PR expands on my previous PR of automating the publish of undici-types to use GitHub Actions workflow. It should trigger anytime we push a tag like v5.25.2. This will then checkout the repo, run npm ci, generate a package.json file based on the one in root, and then run npm publish with the correct auth permissions

TODO:

  • : add NPM_TOKEN to repo secrets. I have one generated already I need someone with repo admin privileges to help me get it added.

@Ethan-Arrowood Ethan-Arrowood marked this pull request as ready for review September 25, 2023 20:29
Copy link
Member

@ronag ronag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM

@Ethan-Arrowood
Copy link
Collaborator Author

Before we merge I need the token added. Otherwise it won't work. Let me know who has these permissions so I can get it set up. Thanks!

@mcollina
Copy link
Member

mcollina commented Oct 2, 2023

Let me know who has these permissions so I can get it set up. Thanks!

@Ethan-Arrowood you are marked as an owner to this repo, you should be able to set the secret.

@Ethan-Arrowood Ethan-Arrowood merged commit 4024468 into main Oct 2, 2023
14 checks passed
@Ethan-Arrowood Ethan-Arrowood deleted the automate-undici-types-publish branch October 2, 2023 14:38
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 2024
…flow (nodejs#2290)

* add workflow

* improve automation

* linting
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.

3 participants