mirror of
https://github.com/bitwarden/help
synced 2026-01-06 18:43:39 +00:00
* Added Ruby version task and Jekyll, Bundler and Dependencies installation tasks * Updated branch trigger for testing purposes * Updated pipeline to fix install error * Updated pipeline yaml to use master branch
28 lines
578 B
YAML
28 lines
578 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:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: 'Ubuntu-16.04'
|
|
|
|
steps:
|
|
- task: UseRubyVersion@0
|
|
displayName: 'Use Ruby >= 2.4'
|
|
|
|
- script: 'gem install jekyll bundler'
|
|
displayName: 'Install jekyll and bundler gems'
|
|
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: '10.x'
|
|
displayName: 'Install Node.js'
|
|
|
|
- script: |
|
|
npm install
|
|
npm run build
|
|
displayName: 'npm install and build'
|