Skip to content

Commit

Permalink
docs(npm): Add missing NPM_TOKEN env var requirement (#151)
Browse files Browse the repository at this point in the history
Follow up to #143
  • Loading branch information
BYK authored Dec 15, 2020
1 parent 146ba94 commit f41840b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,10 +509,13 @@ The `npm` utility must be installed on the system.

| Name | Description |
| ------------------- | ------------------------------------------------------------------- |
| `NPM_TOKEN` | An [automation token][npm-automation-token] allowed to publish. |
| `NPM_BIN` | **optional**. Path to the npm executable. Defaults to `npm` |
| `YARN_BIN` | **optional**. Path to the yarn executable. Defaults to `yarn` |
| `CRAFT_NPM_USE_OTP` | **optional**. If set to "1", you will be asked for an OTP (for 2FA) |

[npm-automation-token]: https://docs.npmjs.com/creating-and-viewing-access-tokens

**Configuration**

| Option | Description |
Expand Down

0 comments on commit f41840b

Please sign in to comment.