wisemapping-frontend/bitbucket-pipelines.yml

30 lines
715 B
YAML
Raw Permalink 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-17 05:01:33 +01:00
# Node LTS
image: cypress/included:8.4.1
pipelines:
branches:
'{master,develop}':
- step:
name: Build and test
caches:
- node
- npm
- cypress
script:
- export CYPRESS_imageSnaphots="true"
- yarn bootstrap
- yarn build
- yarn lint
- yarn test
artifacts:
- packages/**/cypress/snapshots/**/__diff_output__/*.diff.png
definitions:
caches:
npm: $HOME/.npm
2022-01-26 20:25:11 +01:00
cypress: $HOME/.cache/Cypress