mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-13 01:58:44 +02:00
update pipeline
This commit is contained in:
parent
147d59a7c3
commit
70e17fcccd
@ -4,10 +4,14 @@
|
|||||||
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- master
|
branches:
|
||||||
|
exclude:
|
||||||
|
- l10n_master
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'Ubuntu-16.04'
|
vmImage: 'vs2017-win2016'
|
||||||
|
|
||||||
|
name: $(Rev:.r)
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
@ -15,7 +19,22 @@ steps:
|
|||||||
versionSpec: '10.x'
|
versionSpec: '10.x'
|
||||||
displayName: 'Install Node.js'
|
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: |
|
- script: |
|
||||||
npm install
|
node --version
|
||||||
npm run build
|
npm --version
|
||||||
displayName: 'npm install and build'
|
|
||||||
|
- script: npm install
|
||||||
|
|
||||||
|
- script: npm run dist
|
||||||
|
|
||||||
|
- script: gulp ci
|
||||||
|
|
||||||
|
- task: ArchiveFiles@2
|
||||||
|
inputs:
|
||||||
|
rootFolderOrFile: dist/dist-opera-$(Build.BuildId).zip
|
||||||
|
Loading…
Reference in New Issue
Block a user