mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
4cdf37bedb
* init form * first demo * add normal login * add style * webit * support nest errors * beauti form errors * use onReset * modal demo * add list demo * match key of errors logic * date demo * customize component * moving style * add status style * without form create * add demos * add inline style * clean up legacy * fix drawer demo * mention * fix edit-row * editable table cell * update mentions demo * fix some test case * fix upload test * fix lint * part of doc * fix ts * doc update * rm react 15 * rm config * enhance test coverage * clean up * fix FormItem context pass logic * add more demo * en to build * update demo * update demo & snapshot * more doc * update list doc * update doc * update demo to display condition render * update snapshot * add provider doc * support configProvider * more doc about validateMessages * more description * more and more doc * fix typo * en doc * Form.List doc * m v3 -> v4 * add skip
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
# Node.js
|
|
# Build a general Node.js project with npm.
|
|
# Add steps that analyze code, save build artifacts, deploy, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
|
name: ant design
|
|
|
|
trigger:
|
|
batch: true
|
|
branches:
|
|
exclude:
|
|
- gh-pages
|
|
|
|
jobs:
|
|
- job: test_
|
|
pool:
|
|
vmImage: 'Ubuntu-16.04'
|
|
strategy:
|
|
matrix:
|
|
Lint:
|
|
TEST_TYPE: lint
|
|
dist-react@16:
|
|
REACT: 16
|
|
TEST_TYPE: test:dist
|
|
lib-react@16:
|
|
REACT: 16
|
|
TEST_TYPE: test:lib
|
|
es-react@16:
|
|
REACT: 16
|
|
TEST_TYPE: test:es
|
|
dom-react@16:
|
|
REACT: 16
|
|
TEST_TYPE: test:dom
|
|
node-react@16:
|
|
REACT: 16
|
|
TEST_TYPE: test:node
|
|
steps:
|
|
- checkout: self
|
|
fetchDepth: 1
|
|
clean: false
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: '10.x'
|
|
- script: npm install
|
|
displayName: install
|
|
- script: scripts/travis-script.sh
|
|
displayName: test
|
|
- task: PublishBuildArtifacts@1
|
|
# 主分支,并且运行成功
|
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
|
inputs:
|
|
pathtoPublish: './package-lock.json'
|
|
artifactName: lock
|