mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-10 17:33:24 +01:00
26 lines
580 B
YAML
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 |