mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
24 lines
531 B
YAML
24 lines
531 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.
|
||
|
|
||
|
image: node:10.15.3
|
||
|
|
||
|
pipelines:
|
||
|
default:
|
||
|
- parallel:
|
||
|
- step:
|
||
|
name: Build and Test
|
||
|
caches:
|
||
|
- node
|
||
|
script:
|
||
|
- npm install
|
||
|
- step:
|
||
|
name: Code linting
|
||
|
script:
|
||
|
- npm install eslint
|
||
|
- npx eslint .
|
||
|
caches:
|
||
|
- node
|