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
If you use this CI format, enter your project here.