mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-10 17:33:24 +01:00
Initial Bitbucket Pipelines configuration
This commit is contained in:
parent
e953937e44
commit
25b7e8fa6c
24
bitbucket-pipelines.yml
Normal file
24
bitbucket-pipelines.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# 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
|
||||||
|
- npm test
|
||||||
|
- step:
|
||||||
|
name: Code linting
|
||||||
|
script:
|
||||||
|
- npm install eslint
|
||||||
|
- npx eslint .
|
||||||
|
caches:
|
||||||
|
- node
|
Loading…
Reference in New Issue
Block a user