mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-22 12:50:42 +00:00
use pre-build docker image for markdownlint
This commit is contained in:
parent
0fa22aa7bf
commit
f9aead5758
@ -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',
|
||||||
|
10
.drone.yml
10
.drone.yml
@ -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
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user