From 60fa2a53b6cc93d8268747554b66b915276a5ea8 Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Thu, 3 Nov 2022 11:41:51 -0400 Subject: [PATCH] add lua diagnostics to pipeline --- bitbucket-pipelines.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 2eec204..e77504d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -3,14 +3,23 @@ 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: Lint code + name: Lua Diagnostics + caches: + - node-modules + - npm + - nvm script: - - apt-get update - - apt-get -y install lua5.1 - - apt-get -y install luarocks - - luarocks install luacheck - - luacheck . + - nvm use v17.2.0 + - npm run lua-diagnostics branches: master: - step: