mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-23 23:50:39 +00:00
use pre-build docker image for markdownlint
This commit is contained in:
parent
a4e876d24f
commit
daf21cc5f7
@ -225,15 +225,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' -p .gitignore",
|
||||||
"markdownlint 'docs/content/**/*.md' 'README.md' -p .gitignore",
|
|
||||||
],
|
],
|
||||||
environment: {
|
|
||||||
FORCE_COLOR: true,
|
|
||||||
NPM_CONFIG_LOGLEVEL: 'error',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'spellcheck',
|
name: 'spellcheck',
|
||||||
|
10
.drone.yml
10
.drone.yml
@ -242,13 +242,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' -p .gitignore
|
||||||
- markdownlint 'docs/content/**/*.md' 'README.md' -p .gitignore
|
|
||||||
environment:
|
|
||||||
FORCE_COLOR: true
|
|
||||||
NPM_CONFIG_LOGLEVEL: error
|
|
||||||
|
|
||||||
- name: spellcheck
|
- name: spellcheck
|
||||||
image: node:lts-alpine
|
image: node:lts-alpine
|
||||||
@ -358,6 +354,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 03108e79da796974a91f9af64a24f4129005357b41a1e280be964ee884f3a085
|
hmac: 2a8711f166f19c03f78909ab06c72ad8fd8e4c4a5689208a494f84268ee26ebc
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user