|
|
@@ -11,7 +11,7 @@ jobs:
|
|
|
- job: lintAndBuild
|
|
|
|
|
|
pool:
|
|
|
- vmImage: 'Ubuntu-16.04'
|
|
|
+ vmImage: "Ubuntu-16.04"
|
|
|
|
|
|
steps:
|
|
|
- checkout: self
|
|
|
@@ -20,6 +20,8 @@ jobs:
|
|
|
displayName: install
|
|
|
- script: npm run lint
|
|
|
displayName: lint
|
|
|
+ - script: npm run tsc
|
|
|
+ displayName: tsc
|
|
|
- script: npm run build
|
|
|
env:
|
|
|
PROGRESS: none
|
|
|
@@ -27,32 +29,34 @@ jobs:
|
|
|
|
|
|
- job: test
|
|
|
pool:
|
|
|
- vmImage: 'Ubuntu-16.04'
|
|
|
+ vmImage: "Ubuntu-16.04"
|
|
|
|
|
|
container:
|
|
|
image: circleci/node:latest-browsers
|
|
|
- options: '-u root'
|
|
|
+ options: "-u root"
|
|
|
|
|
|
steps:
|
|
|
- script: yarn install
|
|
|
displayName: install
|
|
|
- script: npm run test:all
|
|
|
env:
|
|
|
- PROGRESS: none
|
|
|
- UMI_UI: none
|
|
|
+ PROGRESS: none
|
|
|
+ UMI_UI: none
|
|
|
displayName: test
|
|
|
|
|
|
- job: Windows
|
|
|
pool:
|
|
|
- vmImage: 'vs2017-win2016'
|
|
|
+ vmImage: "vs2017-win2016"
|
|
|
steps:
|
|
|
- task: NodeTool@0
|
|
|
inputs:
|
|
|
- versionSpec: '11.x'
|
|
|
+ versionSpec: "11.x"
|
|
|
- script: yarn install
|
|
|
displayName: install
|
|
|
- script: npm run lint
|
|
|
displayName: lint
|
|
|
+ - script: npm run tsc
|
|
|
+ displayName: tsc
|
|
|
- script: npm run test:all
|
|
|
env:
|
|
|
PROGRESS: none
|
|
|
@@ -65,15 +69,17 @@ jobs:
|
|
|
|
|
|
- job: MacOS
|
|
|
pool:
|
|
|
- vmImage: 'macOS-10.13'
|
|
|
+ vmImage: "macOS-10.13"
|
|
|
steps:
|
|
|
- task: NodeTool@0
|
|
|
inputs:
|
|
|
- versionSpec: '11.x'
|
|
|
+ versionSpec: "11.x"
|
|
|
- script: yarn install
|
|
|
displayName: install
|
|
|
- script: npm run lint
|
|
|
displayName: lint
|
|
|
+ - script: npm run tsc
|
|
|
+ displayName: tsc
|
|
|
- script: npm run
|
|
|
env:
|
|
|
PROGRESS: none
|