wisemapping-frontend/bitbucket-pipelines.yml

31 lines
746 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-17 05:01:33 +01:00
# Node LTS
2022-10-31 23:47:00 +01: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-31 01:10:00 +01:00
- yarn install
- yarn build
- yarn lint
2022-11-02 00:31:33 +01:00
- yarn test:unit
2022-02-15 02:42:16 +01:00
# - 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