Parses a mandatory npm scope declaration.
steps:
- id: scope-parser
uses: giancosta86/aurora-github/actions/parse-npm-scope@v10
with:
scope: giancosta86-
The
scopeinput must be declared. It can be:-
<ROOT>, for a scope-less package in the root of the npm registry -
the package scope as a string, with an optional leading
@
-
| Name | Type | Description | Default value |
|---|---|---|---|
scope |
string | The npm scope to parse |
| Name | Type | Description | Example |
|---|---|---|---|
actual-scope |
string | The scope without '@', or the empty string for root scope | giancosta86 |