Last active
September 18, 2018 18:19
-
-
Save ulrikstrid/e8a4a467971c1bde04330aca45a20eaa to your computer and use it in GitHub Desktop.
Lumo VSTS setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resources: | |
| - repo: self | |
| fetchDepth: 5 | |
| queue: | |
| name: Hosted VS2017 | |
| demands: | |
| - yarn | |
| - Cmd | |
| steps: | |
| - task: NodeTool@0 | |
| displayName: 'Use Node 8.11.1' | |
| inputs: | |
| versionSpec: 8.11.1 | |
| - task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 | |
| displayName: 'Yarn install' | |
| inputs: | |
| Arguments: install | |
| - powershell: 'wget ''https://github.com/boot-clj/boot-bin/releases/download/latest/boot.exe' -OutFile "$pwd\boot.exe"' | |
| displayName: 'Install boot' | |
| - script: 'move boot.exe %SystemRoot%' | |
| displayName: 'move boot.exe %SystemRoot%' | |
| - task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 | |
| displayName: 'Yarn lint' | |
| inputs: | |
| Arguments: lint | |
| - task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 | |
| displayName: 'Yarn type:check' | |
| inputs: | |
| Arguments: 'type:check' | |
| - task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 | |
| displayName: 'Yarn test' | |
| inputs: | |
| Arguments: test | |
| continueOnError: true | |
| - script: 'boot test' | |
| displayName: 'boot test' | |
| continueOnError: true | |
| - script: 'boot release-ci' | |
| displayName: 'boot release-ci' | |
| - task: BatchScript@1 | |
| displayName: 'Run script: scripts/test-build.bat' | |
| inputs: | |
| filename: 'scripts/test-build.bat' | |
| - task: PublishBuildArtifacts@1 | |
| displayName: 'Publish Artifact: build' | |
| inputs: | |
| PathtoPublish: build | |
| ArtifactName: build | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment