From 25b7e8fa6c40b7563bdcd3049d6b736831c73a09 Mon Sep 17 00:00:00 2001 From: PauloV Date: Fri, 27 Nov 2020 03:02:54 +0000 Subject: [PATCH] Initial Bitbucket Pipelines configuration --- bitbucket-pipelines.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bitbucket-pipelines.yml 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