Set up CI with Azure Pipelines
This commit is contained in:
parent
0a5bda3d6c
commit
2dc76d47ea
1 changed files with 21 additions and 0 deletions
21
azure-pipelines.yml
Normal file
21
azure-pipelines.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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
|
||||
|
||||
trigger:
|
||||
- release
|
||||
|
||||
pool:
|
||||
vmImage: 'vs2017-win2016'
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '9.x'
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: |
|
||||
yarn install
|
||||
yarn build --publish onTag
|
||||
displayName: 'yarn install and build'
|
Loading…
Reference in a new issue