use pre-build docker image for markdownlint

This commit is contained in:
Robert Kaussow 2021-01-03 21:58:11 +01:00
parent 0fa22aa7bf
commit f9aead5758
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
2 changed files with 5 additions and 14 deletions

View File

@ -298,15 +298,10 @@ local PipelineDocs = {
},
{
name: 'markdownlint',
image: 'node:lts-alpine',
image: 'thegeeklab/markdownlint-cli',
commands: [
'npm install -g markdownlint-cli',
"markdownlint 'docs/content/**/*.md' 'README.md'",
"markdownlint 'docs/content/**/*.md' 'README.md' 'CONTRIBUTING.md'",
],
environment: {
FORCE_COLOR: true,
NPM_CONFIG_LOGLEVEL: 'error',
},
},
{
name: 'spellcheck',

View File

@ -502,13 +502,9 @@ steps:
- make doc
- name: markdownlint
image: node:lts-alpine
image: thegeeklab/markdownlint-cli
commands:
- npm install -g markdownlint-cli
- markdownlint 'docs/content/**/*.md' 'README.md'
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- markdownlint 'docs/content/**/*.md' 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
image: node:lts-alpine
@ -676,6 +672,6 @@ depends_on:
---
kind: signature
hmac: e7ac87d93823a4609173c9629e8e975b60128a7526b3eb5417f7d93ede9d7049
hmac: d918029a9d7ac950341fc1a329c411d12a1b35dd3f1b7a7ce8791bd48ded59c1
...