Skip to content

Commit e72f97d

Browse files
committed
docs: add NPM login details to releasing docs.
I hid the sensitive URLs behind a short link just to be extra careful with them while still providing useful click-through functionality for Googlers.
1 parent 20050b3 commit e72f97d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/process/release.md

+20
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,26 @@ git tag 'vXX'
101101
git push upstream && git push upstream --tags
102102
```
103103

104+
### Authenticating
105+
106+
**This can ONLY be done by a Google employee.**
107+
108+
Log in to [NPM](https://npmjs.com/) to the `angular` account in order to
109+
publish. This account is protected by two factor authentication (2FA).
110+
111+
Run `npm login`:
112+
113+
1. For username, use `angular`.
114+
1. For password, use the value stored [here](http://go/ng-npm-pass).
115+
1. For email, use `devops+npm@angular.io`.
116+
1. For two-factor code, you'll need to set up the account.
117+
* Use an authenticator app such as [Google Authenticator](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2).
118+
* Add a new account and enter the text key from [here](http://go/ng-npm-2fa).
119+
* The app will start showing two-factor codes, enter one into the
120+
`npm login` prompt.
121+
122+
Once sucessfully logged in, it is time to publish.
123+
104124
### Publishing
105125

106126
**This can ONLY be done by a Google employee.**

0 commit comments

Comments
 (0)