1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00
bitwarden-browser/azure-pipelines.yml
2019-03-28 22:26:08 -04:00

43 lines
783 B
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
trigger:
branches:
include:
- '*'
exclude:
- l10n_master
pool:
vmImage: 'vs2017-win2016'
name: $(Rev:r)
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: npm install -g gulp
- powershell: |
choco install cloc --no-progress
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
- script: |
node --version
npm --version
- script: npm install
- script: npm run dist
- script: gulp ci
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: dist/dist-opera-$(Build.BuildId).zip