mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 12:03:49 +01:00
eaf1b3d910
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
26 lines
578 B
YAML
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 |