1
0
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:
Sebastian Malton 2020-11-26 11:01:37 -05:00
parent 89ed644ac6
commit 9e7b59ba8c
2 changed files with 6 additions and 27 deletions

View File

@ -162,27 +162,3 @@ jobs:
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))" condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
env: env:
NPM_TOKEN: $(NPM_TOKEN) 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

View File

@ -41,6 +41,10 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Verify that the markdown is valid
run: |
yarn run mkdocs-verify
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
yarn install yarn install
@ -61,4 +65,3 @@ jobs:
run: | run: |
mike deploy --push --update-aliases ${{ steps.get_version.outputs.VERSION }} latest mike deploy --push --update-aliases ${{ steps.get_version.outputs.VERSION }} latest
mike set-default --push ${{ steps.get_version.outputs.VERSION }} mike set-default --push ${{ steps.get_version.outputs.VERSION }}