mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
use GH actions to run the verification
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
89ed644ac6
commit
9e7b59ba8c
@ -162,27 +162,3 @@ 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
|
||||
|
||||
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -41,6 +41,10 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Verify that the markdown is valid
|
||||
run: |
|
||||
yarn run mkdocs-verify
|
||||
|
||||
- name: Generate Extensions API Reference using typedocs
|
||||
run: |
|
||||
yarn install
|
||||
@ -61,4 +65,3 @@ jobs:
|
||||
run: |
|
||||
mike deploy --push --update-aliases ${{ steps.get_version.outputs.VERSION }} latest
|
||||
mike set-default --push ${{ steps.get_version.outputs.VERSION }}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user