npm-publish

Publishes a nodejs package to 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
Dec 16, 2019