wisemapping-frontend/bitbucket-pipelines.yml

32 lines
775 B
YAML
Raw Normal View History

# Template NodeJS build
# This template allows you to validate your NodeJS code.
# The workflow allows running tests and code linting on the default branch.
2021-02-16 23:01:33 -05:00
# Node LTS
2022-10-31 15:47:00 -07:00
image: cypress/included:10.11.0
pipelines:
branches:
'{master,develop}':
- step:
name: Build and test
caches:
- node
- npm
- cypress
script:
- export CYPRESS_imageSnaphots="true"
2022-01-30 16:10:00 -08:00
- yarn install
- yarn bootstrap
- yarn build
- yarn lint
2022-11-01 16:31:33 -07:00
- yarn test:unit
2022-02-14 17:42:16 -08:00
# - yarn test
artifacts:
- packages/**/cypress/snapshots/**/__diff_output__/*.diff.png
definitions:
caches:
npm: $HOME/.npm
2022-01-26 19:25:11 +00:00
cypress: $HOME/.cache/Cypress