File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,6 +101,26 @@ git tag 'vXX'
101101git 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.**
You canβt perform that action at this time.
0 commit comments