monaco-editor/azure-pipelines.yml

21 lines
378 B
YAML
Raw Normal View History

# Builds and publishes the Monaco Editor website
pool:
vmImage: 'Ubuntu-16.04'
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'
- script: |
npm install
2018-11-09 20:01:07 +08:00
npm run build-website
2018-11-09 19:48:41 +08:00
displayName: 'Build website'
- script: |
./build/publish-website.sh
2018-11-10 00:43:21 +08:00
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
2018-11-09 19:48:41 +08:00
displayName: 'Publish website'