wisemapping-frontend/bitbucket-pipelines.yml

32 lines
774 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-06 02:11:32 +02:00
image: cypress/included:10.9.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 bootstrap
- yarn build
- yarn lint
2022-04-12 13:49:03 +02: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