From 1e5fdfc2c822464c0b6540a7ce5ac915dbc93a1e Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 23 Jan 2022 16:25:43 -0800 Subject: [PATCH] Configure pipeline for master and develop --- bitbucket-pipelines.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index bd690ee3..5cf5417d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -7,23 +7,22 @@ image: cypress/included:8.4.1 pipelines: - default: - - parallel: - - step: - name: Build and test - caches: - - node - - npm - - cypress - script: - - export CYPRESS_imageSnaphots="true" - - yarn install - - yarn bootstrap - - yarn build - - yarn lint - - yarn test - artifacts: - - packages/**/cypress/snapshots/**/__diff_output__/*.diff.png + '{master,develop}': + - step: + name: Build and test + caches: + - node + - npm + - cypress + script: + - export CYPRESS_imageSnaphots="true" + - yarn install + - yarn bootstrap + - yarn build + - yarn lint + - yarn test + artifacts: + - packages/**/cypress/snapshots/**/__diff_output__/*.diff.png definitions: caches: npm: $HOME/.npm