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

Update release documentation #2134

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,16 @@ Ready to publish changes to npm?

First, set some credentials:

1. Export a personal access token called
[`GITHUB_AUTH`](https://github.com/lerna/lerna-changelog#github-token).
1. Create and export a personal access token called
[`GITHUB_TOKEN`](https://github.com/release-it/release-it/blob/main/docs/github-releases.md#automated).
1. Confirm your environment has the above token properly defined and is not blank: `echo $GITHUB_TOKEN`.
1. Create an npm account if you don't already have one and ensure you're
listed as a "collaborator" on all our npm packages (e.g.
[cfpb-buttons](https://www.npmjs.com/package/@cfpb/cfpb-buttons)).
1. Check that you are logged in with `npm whoami`. If you aren't shown your username, run `npm login`.

**Note:** If you run into issues with your npm account not approving your MFA code, try resetting your npm password at npmjs.com.

Then, do a release:

1. Ensure you're on the `main` branch with `git checkout main`
Expand Down
Loading