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
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 5 additions and 14 deletions

View File

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

View File

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