wisemapping-frontend/bitbucket-pipelines.yml
Juan Allo eaf1b3d910 Merged in feat/cypress (pull request #1)
Adding cypress integration into the webapp

* Merge branch 'master' into feat/cypress

* moving the config files to ts

* updating from master

* adding pipeline config

* updating the cypress base image to use the same node version

* moving node to 14.15.4

* unifying all the tasks into one step

* using cypress base image for the whole pipeline for now

* removing cypress examples

* adding readme for tests

Approved-by: Ezequiel Bergamaschi
2021-02-23 05:40:02 +00:00

26 lines
578 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