# Bitbucket Pipelines

&#x20;![Bitbucket logo](https://wac-cdn.atlassian.com/dam/jcr:e75ffb0e-b3ee-40ca-8659-ecb93675a379/Bitbucket@2x-blue.png)\
\
&#x20;\[Site]\(<https://bitbucket.org/product/br/features/pipelines>) | \[Example]\(examples/bitbucket-pipelines.yml)

## Create file config:

```bash
touch bitbucket-pipelines.yml
```

## Copy the content and paste in `bitbucket-pipelines.yml`

```yaml
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.
