mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-18 19:20:40 +00:00
use pre-build docker image for markdownlint
This commit is contained in:
parent
26cf368650
commit
e396239ee1
@ -279,15 +279,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',
|
||||
|
10
.drone.yml
10
.drone.yml
@ -483,13 +483,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
|
||||
@ -657,6 +653,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 4723d34a177bcdfd2400e148c361a173d18b8392231dc8c46d4cc27f6a8e40bb
|
||||
hmac: 294dd727afe86d2b1764dc93ca382c33738ab08ed1e560de1ea5560b576187e2
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user