wisemapping-frontend/bitbucket-pipelines.yml
2021-12-14 10:02:31 -08:00

25 lines
581 B
YAML

# Template NodeJS build
# This template allows you to validate your NodeJS code.
# The workflow allows running tests and code linting on the default branch.
# Node LTS
image: cypress/base:16.13.0
pipelines:
default:
- parallel:
- step:
name: Build and test
caches:
- node
- npm
- cypress
script:
- yarn install
- yarn build
- yarn --cwd packages/mindplot test:jest
definitions:
caches:
npm: $HOME/.npm
cypress: $HOME/.cache/Cypress