Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.13 KB

File metadata and controls

39 lines (25 loc) · 1.13 KB

parse-npm-scope

Parses a mandatory npm scope declaration.

Example

steps:
  - id: scope-parser
    uses: giancosta86/aurora-github/actions/parse-npm-scope@v7
    with:
      scope: giancosta86

Requirements

  • The scope input 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 @

Inputs 📥

Name Type Description Default value
scope string The npm scope to parse

Outputs 📤

Name Type Description Example
actual-scope string The scope without '@', or the empty string for root scope giancosta86

Further references