From e051aac82b050c214338501e4dfb9d983a141d1b Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Thu, 3 Nov 2022 13:39:28 -0400 Subject: [PATCH] add lua diagnostics to pipeline --- bitbucket-pipelines.yml | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 51a5ed8..767b39b 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -3,6 +3,16 @@ image: atlassian/default-image:3 pipelines: pull-requests: "**": + - step: + name: Install Node Dependencies + caches: + - node-modules + - npm + - nvm + script: + - nvm install v17.2.0 + - npm i -g npm@8 + - npm ci - parallel: - step: name: Lua Check @@ -23,6 +33,16 @@ pipelines: - npm run lua-diagnostics branches: master: + - step: + name: Install Node Dependencies + caches: + - node-modules + - npm + - nvm + script: + - nvm install v17.2.0 + - npm i -g npm@8 + - npm ci - parallel: - step: name: Lua Check @@ -43,6 +63,16 @@ pipelines: - npm run lua-diagnostics tags: "*": + - step: + name: Install Node Dependencies + caches: + - node-modules + - npm + - nvm + script: + - nvm install v17.2.0 + - npm i -g npm@8 + - npm ci - parallel: - step: name: Lua Check @@ -61,16 +91,6 @@ pipelines: script: - nvm use v17.2.0 - npm run lua-diagnostics - - step: - name: Install Node Dependencies - caches: - - node-modules - - npm - - nvm - script: - - nvm install v17.2.0 - - npm i -g npm@8 - - npm ci - step: name: Deploy to ContentDB caches: