wisemapping-frontend/bitbucket-pipelines.yml
2021-10-04 16:56:40 -07:00

26 lines
580 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:14.15.4
pipelines:
default:
- parallel:
- step:
name: Build and test
caches:
- node
- npm
- cypress
script:
- yarn install
- yarn build
# - yarn lint
- yarn test
definitions:
caches:
npm: $HOME/.npm
cypress: $HOME/.cache/Cypress