1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 02:43:04 +01:00
bitwarden-estensione-browser/azure-pipelines.yml

39 lines
770 B
YAML
Raw Normal View History

# 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:
2019-03-29 03:20:29 +01:00
branches:
2019-03-29 03:25:10 +01:00
include:
- '*'
2019-03-29 03:20:29 +01:00
exclude:
- l10n_master
pool:
2019-03-29 03:20:29 +01:00
vmImage: 'vs2017-win2016'
2019-03-29 03:26:08 +01:00
name: $(Rev:r)
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
2019-03-29 03:20:29 +01:00
- powershell: |
choco install cloc --no-progress
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
2019-03-29 03:34:34 +01:00
displayName: 'Cloc'
2019-03-29 03:20:29 +01:00
- script: |
2019-03-29 03:20:29 +01:00
node --version
call npm --version
2019-03-29 03:34:34 +01:00
displayName: 'Version checks'
2019-03-29 03:20:29 +01:00
- script: call npm install
2019-03-29 03:34:34 +01:00
displayName: 'npm install'
2019-03-29 03:20:29 +01:00
- script: call npm run build
2019-03-29 03:34:34 +01:00
displayName: 'npm run build'