add lua diagnostics to pipeline

This commit is contained in:
Juraj Vajda 2022-11-03 13:39:28 -04:00
parent ee92866f37
commit e051aac82b

View File

@ -3,6 +3,16 @@ image: atlassian/default-image:3
pipelines: pipelines:
pull-requests: 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: - parallel:
- step: - step:
name: Lua Check name: Lua Check
@ -23,6 +33,16 @@ pipelines:
- npm run lua-diagnostics - npm run lua-diagnostics
branches: branches:
master: 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: - parallel:
- step: - step:
name: Lua Check name: Lua Check
@ -43,6 +63,16 @@ pipelines:
- npm run lua-diagnostics - npm run lua-diagnostics
tags: 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: - parallel:
- step: - step:
name: Lua Check name: Lua Check
@ -61,16 +91,6 @@ pipelines:
script: script:
- nvm use v17.2.0 - nvm use v17.2.0
- npm run lua-diagnostics - 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: - step:
name: Deploy to ContentDB name: Deploy to ContentDB
caches: caches: