File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ trigger :
3
+ - develop
4
+ jobs :
5
+ - job : " Ship it"
6
+ pool :
7
+ vmImage : " ubuntu-latest"
8
+ steps :
9
+ - task : UsePythonVersion@0
10
+ inputs :
11
+ versionSpec : " 3.8"
12
+ displayName : Install Python.
13
+ - task : NodeTool@0
14
+ inputs :
15
+ versionSpec : " 10.x"
16
+ displayName : Install NodeJS.
17
+ - script : |
18
+ curl https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh
19
+ echo '##vso[task.prependpath]$(system.defaultWorkingDirectory)/bin'
20
+ displayName: Install Vale.
21
+ - script : " curl -sSL https://raw.githubusercontent.com\
22
+ /python-poetry/poetry/master/get-poetry.py | python"
23
+ displayName : Install poetry.
24
+ - script : poetry install
25
+ displayName : Install python dependencies.
26
+ - script : npm install
27
+ displayName : Install javascript dependencies.
28
+ - script : poetry run invoke lint
29
+ displayName : Run linters.
30
+ - script : poetry run invoke build
31
+ displayName : Run build.
32
+ - script : poetry run invoke deploy
33
+ condition : |
34
+ and(succeeded(),
35
+ eq(variables['Build.SourceBranch'], 'refs/heads/develop'))
36
+ displayName : Run deploy.
You can’t perform that action at this time.
0 commit comments