diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 00000000..758d81cb --- /dev/null +++ b/bitbucket-pipelines.yml @@ -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