mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
docs: show table
This commit is contained in:
parent
b8be0fe8ec
commit
90cf21e375
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -41,13 +41,13 @@ You can configure multiple package registries using the `registries` input. This
|
|||
|
||||
#### Registry format options
|
||||
|
||||
| Type | Format | Example |
|
||||
| ------------------------------------ | --------------------------------------------------------- | ----------------------------------------------------- |
|
||||
| Default registry | `https://registry.example.com/` | `https://registry.npmjs.org/` |
|
||||
| Default registry with token | `https://registry.example.com/\|$TOKEN` | `https://registry.npmjs.org/\|$NPM_TOKEN` |
|
||||
| Scoped registry | `@scope:https://registry.example.com/` | `@myorg:https://npm.pkg.github.com/` |
|
||||
| Scoped registry with token | `@scope:https://registry.example.com/\|$TOKEN` | `@myorg:https://npm.pkg.github.com/\|$GITHUB_TOKEN` |
|
||||
| Scoped registry with URL credentials | `@scope:https://username:$PASSWORD@registry.example.com/` | `@internal:https://user:$PASS@registry.internal.com/` |
|
||||
| Type | Format |
|
||||
| ------------------------------------ | --------------------------------------------------------- |
|
||||
| Default registry | `https://registry.example.com/` |
|
||||
| Default registry with token | `https://registry.example.com/\|$TOKEN` |
|
||||
| Scoped registry | `@scope:https://registry.example.com/` |
|
||||
| Scoped registry with token | `@scope:https://registry.example.com/\|$TOKEN` |
|
||||
| Scoped registry with URL credentials | `@scope:https://username:$PASSWORD@registry.example.com/` |
|
||||
|
||||
> [!IMPORTANT]
|
||||
> When using authentication, make sure to set the corresponding environment variables in your workflow steps that need access to the registries.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue