YAML examples for NPM Publish
Publish artifact to NPM registry
yaml
- action: "Publish to NPM"
type: "NPM_PUBLISH"
integration: "npm_integration"
npm_registry: "NPM"
source_path: "/buddy/my-artifact"
tag: "latest"
access: "PUBLIC"
ignore_scripts: true
Publish to a custom NPM registry with a token
yaml
- action: "Publish to private registry"
type: "NPM_PUBLISH"
npm_registry: "OTHER"
registry: "https://npm.example.com/"
token: "$NPM_TOKEN"
source_path: "/buddy/my-artifact"