Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Publish an NPM package npm-publish
Publish an NPM package to the NPM registry.
arguments
deploy_to_npm:
type: npm-publish
arguments:
NPM_TOKEN: '${{NPM_TOKEN}}'
DIR: '${{MY_GITHUB_REPO_NAME}}'