Configure pipeline for master and develop

This commit is contained in:
Paulo Gustavo Veiga 2022-01-23 16:25:43 -08:00
parent 5bfd7cf066
commit 1e5fdfc2c8

View File

@ -7,23 +7,22 @@
image: cypress/included:8.4.1 image: cypress/included:8.4.1
pipelines: pipelines:
default: '{master,develop}':
- parallel: - step:
- step: name: Build and test
name: Build and test caches:
caches: - node
- node - npm
- npm - cypress
- cypress script:
script: - export CYPRESS_imageSnaphots="true"
- export CYPRESS_imageSnaphots="true" - yarn install
- yarn install - yarn bootstrap
- yarn bootstrap - yarn build
- yarn build - yarn lint
- yarn lint - yarn test
- yarn test artifacts:
artifacts: - packages/**/cypress/snapshots/**/__diff_output__/*.diff.png
- packages/**/cypress/snapshots/**/__diff_output__/*.diff.png
definitions: definitions:
caches: caches:
npm: $HOME/.npm npm: $HOME/.npm