From a7803353f03528042f15ade30462b88cb8b2ddc6 Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Thu, 24 Oct 2019 00:21:45 -0400 Subject: Added lint-md linter for markdown --- cloudbuild.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cloudbuild.yaml') diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 5cd9e22b2..21965427b 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -49,7 +49,7 @@ steps: - > ./upstream/gvisor/bazel-bin/runsc/linux_amd64_pure_stripped/runsc help syscalls -o json | ./bin/generate-syscall-docs -out ./content/docs/user_guide/compatibility/ - # Pull npm dependencies for scss + # Pull npm dependencies for scss and lint-md - name: 'gcr.io/cloud-builders/npm' args: ['ci'] # Copy App Engine app files. @@ -59,6 +59,9 @@ steps: - name: 'gcr.io/gvisor-website/hugo:0.53' env: ['HUGO_ENV=production'] args: ["hugo"] + # Test Markdown for issues. + - name: 'gcr.io/cloud-builders/npm' + args: ['run', 'lint-md'] # Test the HTML for issues. - name: 'gcr.io/gvisor-website/html-proofer:3.10.2' args: -- cgit v1.2.3