mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 04:03:47 +01:00
Configure pipeline for master and develop
This commit is contained in:
parent
5bfd7cf066
commit
1e5fdfc2c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user