diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 0ecf360..6116a0e 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -1,17 +1,18 @@ image: node:18-alpine -pipelines: - custom: +definitions: + steps: - step: &build-and-test - name: Build and Test - caches: - - node - script: - - yarn install - - yarn build - - mkdir dist/src - - cp package.json dist/ - artifacts: - - dist + name: Build and Test + caches: + - node + script: + - yarn install + - yarn build + - mkdir dist/src + - cp package.json dist/ + artifacts: + - dist +pipelines: branches: default: <<: *build-and-test