mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user