You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
| Step | Description |
10
10
|--------------------|-------------|
11
-
|`verifyConditions`| Verify the presence of the `NPM_TOKEN` environment variable, create or update the `.npmrc` file with the token and verify the token is valid. |
11
+
|`verifyConditions`| Verify the presence of the `NPM_TOKEN` environment variable, or an `.npmrc` file, and verify the authentication method is valid. |
12
12
|`prepare`| Update the `package.json` version and [create](https://docs.npmjs.com/cli/pack) the npm package tarball. |
13
13
|`addChannel`|[Add a release to a dist-tag](https://docs.npmjs.com/cli/dist-tag). |
14
14
|`publish`|[Publish the npm package](https://docs.npmjs.com/cli/publish) to the registry. |
@@ -41,7 +41,9 @@ The npm authentication configuration is **required** and can be set via [environ
41
41
42
42
Both the [token](https://docs.npmjs.com/getting-started/working_with_tokens) and the legacy (`username`, `password` and `email`) authentication are supported. It is recommended to use the [token](https://docs.npmjs.com/getting-started/working_with_tokens) authentication. The legacy authentication is supported as the alternative npm registries [Artifactory](https://www.jfrog.com/open-source/#os-arti) and [npm-registry-couchapp](https://github.com/npm/npm-registry-couchapp) only supports that form of authentication.
43
43
44
-
**Note**: Only the `auth-only`[level of npm two-factor authentication](https://docs.npmjs.com/getting-started/using-two-factor-authentication#levels-of-authentication) is supported, **semantic-release** will not work with the default `auth-and-writes` level.
44
+
**Notes**:
45
+
- Only the `auth-only`[level of npm two-factor authentication](https://docs.npmjs.com/getting-started/using-two-factor-authentication#levels-of-authentication) is supported, **semantic-release** will not work with the default `auth-and-writes` level.
46
+
- The presence of an `.npmrc` file will override any specified environment variables.
0 commit comments