💡
Continuous Integrations for NPM Publish
  • README
  • Github Actions
  • Travis CI
  • Gitlab CI
  • Wercker
  • Bitbucket Pipelines
  • CircleCI
  • Contributor Covenant Code of Conduct
  • Contributing
Powered by GitBook
On this page
  • Create file config:
  • Copy the content and paste in bitbucket-pipelines.yml
  • Example Projects

Was this helpful?

Bitbucket Pipelines

PreviousWerckerNextCircleCI

Last updated 5 years ago

Was this helpful?

[Site](https://bitbucket.org/product/br/features/pipelines) | [Example](examples/bitbucket-pipelines.yml)

Create file config:

touch bitbucket-pipelines.yml

Copy the content and paste in bitbucket-pipelines.yml

image: node:latest

pipelines:
  tags:
    - step:
      name: Build
      script:
        - yarn install
        - yarn build
    - step:
      name: Publish
      deployment: production
      script:
        - pipe: atlassian/npm-publish:0.2.0
          variables:
            NPM_TOKEN: $NPM_TOKEN

Example Projects

If you use this CI format, enter your project here.

Bitbucket logo