trigger:
batch: true
branches:
include:
- master
- next
- version-*
stages:
- stage: lint
jobs:
- job: eslint
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '16.x'
displayName: 'Install Node.js'
- task: Npm@1
command: 'install'
workingDir: 'web/'
- task: CmdLine@2
script: make gen-web
command: 'custom'
customCommand: 'run lint'
- job: prettier
customCommand: 'run prettier-check'
- job: lit_analyse
customCommand: 'run lit-analyse'
- stage: build_local
- job: build
customCommand: 'run build'