use pre-build docker image for markdownlint

This commit is contained in:
Robert Kaussow 2021-01-03 21:58:12 +01:00
parent 91852a666d
commit a41ad54a02
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 3 additions and 12 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' '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' 'CONTRIBUTING.md'
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: spellcheck
image: node:lts-alpine
@ -674,6 +670,6 @@ depends_on:
---
kind: signature
hmac: 63ae695973cbf7b43322468ffe5c50061ff6649cc3b2d8e64e2903bbca1468e9
hmac: 63d5c7ff9459d99d13c1e051d9c78585cefd140e8dffe80155721df485f75d49
...