use pre-build docker image for markdownlint

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

View File

@ -225,15 +225,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' -p .gitignore",
"markdownlint 'docs/content/**/*.md' 'README.md' 'CONTRIBUTING.md' -p .gitignore",
],
environment: {
FORCE_COLOR: true,
NPM_CONFIG_LOGLEVEL: 'error',
},
},
{
name: 'spellcheck',

View File

@ -242,13 +242,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' -p .gitignore
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- markdownlint 'docs/content/**/*.md' 'README.md' 'CONTRIBUTING.md' -p .gitignore
- name: spellcheck
image: node:lts-alpine
@ -358,6 +354,6 @@ depends_on:
---
kind: signature
hmac: 03108e79da796974a91f9af64a24f4129005357b41a1e280be964ee884f3a085
hmac: 2a8711f166f19c03f78909ab06c72ad8fd8e4c4a5689208a494f84268ee26ebc
...