mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-14 03:07:57 +01:00
25 lines
581 B
YAML
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 |