From 60ec3a613274f474d6f7a88f11dc6846c1873ccb Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Thu, 3 Nov 2022 11:47:52 -0400 Subject: [PATCH] add lua diagnostics to pipeline --- bitbucket-pipelines.yml | 87 +++++++++++++++++++++++++---------------- 1 file changed, 54 insertions(+), 33 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index e77504d..272a42b 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -3,43 +3,64 @@ image: atlassian/default-image:3 pipelines: pull-requests: "**": - # - step: - # name: Lint code - # script: - # - apt-get update - # - apt-get -y install lua5.1 - # - apt-get -y install luarocks - # - luarocks install luacheck - # - luacheck . - - step: - name: Lua Diagnostics - caches: - - node-modules - - npm - - nvm - script: - - nvm use v17.2.0 - - npm run lua-diagnostics + - parallel: + - step: + name: Lint code + script: + - apt-get update + - apt-get -y install lua5.1 + - apt-get -y install luarocks + - luarocks install luacheck + - luacheck . + - step: + name: Lua Diagnostics + caches: + - node-modules + - npm + - nvm + script: + - nvm use v17.2.0 + - npm run lua-diagnostics branches: master: - - step: - name: Lint code - script: - - apt-get update - - apt-get -y install lua5.1 - - apt-get -y install luarocks - - luarocks install luacheck - - luacheck . + - parallel: + - step: + name: Lint code + script: + - apt-get update + - apt-get -y install lua5.1 + - apt-get -y install luarocks + - luarocks install luacheck + - luacheck . + - step: + name: Lua Diagnostics + caches: + - node-modules + - npm + - nvm + script: + - nvm use v17.2.0 + - npm run lua-diagnostics tags: "*": - - step: - name: Lint code - script: - - apt-get update - - apt-get -y install lua5.1 - - apt-get -y install luarocks - - luarocks install luacheck - - luacheck . + - parallel: + - step: + name: Lint code + script: + - apt-get update + - apt-get -y install lua5.1 + - apt-get -y install luarocks + - luarocks install luacheck + - luacheck . + - step: + name: Lua Diagnostics + caches: + - node-modules + - npm + - nvm + script: + - nvm use v17.2.0 + - npm run lua-diagnostics - step: name: Install Node Dependencies caches: