mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add step to verify docs on area/documentation PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
1547142125
commit
89ed644ac6
3 files changed
+26
No files matched your search
@@ -162,3 +162,27 @@ jobs:
|
||||
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
|
||||
env:
|
||||
NPM_TOKEN: $(NPM_TOKEN)
|
||||
---
|
||||
variables:
|
||||
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
|
||||
pr:
|
||||
- master
|
||||
- releases/*
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- '*'
|
||||
tags:
|
||||
include:
|
||||
- "area/documentation"
|
||||
jobs:
|
||||
- job: Check-Docs
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
strategy:
|
||||
matrix:
|
||||
node_12.x:
|
||||
node_version: 12.x
|
||||
steps:
|
||||
- displayName: Verify that docs build
|
||||
script: yarn run mkdocs-verify
|
||||
Reference in new issue
Block a user