docs: show table

This commit is contained in:
Jozef Steinhübl 2025-07-08 22:49:02 +02:00
parent b8be0fe8ec
commit 90cf21e375
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -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.