use pre-build docker image for markdownlint
This commit is contained in:
parent
26cf368650
commit
e396239ee1
|
@ -279,15 +279,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
|
@ -483,13 +483,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
|
||||||
|
@ -657,6 +653,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 4723d34a177bcdfd2400e148c361a173d18b8392231dc8c46d4cc27f6a8e40bb
|
hmac: 294dd727afe86d2b1764dc93ca382c33738ab08ed1e560de1ea5560b576187e2
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue