379

Publish an NPM package npm-publish

Publish an NPM package to the NPM registry.

arguments

  • DIR - Directory to publish from
  • NPM_TOKEN - token of npm account (required)
    deploy_to_npm:
  type: npm-publish
  arguments:
    NPM_TOKEN: '${{NPM_TOKEN}}'
    DIR: '${{MY_GITHUB_REPO_NAME}}'

  
github.com
Jakob Stuart
Jul 4, 2021