chore(ci): execute markdown-link-check as npm module in single step
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Markus Pesch 2024-12-03 09:37:55 +01:00
parent 489c616e9a
commit 5bf8a132eb
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -23,26 +23,6 @@ steps:
cpu: 150 cpu: 150
memory: 150M memory: 150M
- name: markdown link checker
commands:
- npm install
- npm run readme:link
image: docker.io/library/node:23.3.0-alpine
resources:
limits:
cpu: 150
memory: 150M
- name: markdown lint
commands:
- npm install
- npm run readme:lint
image: docker.io/library/node:23.3.0-alpine
resources:
limits:
cpu: 150
memory: 150M
- name: email-notification - name: email-notification
environment: environment:
SMTP_FROM_ADDRESS: SMTP_FROM_ADDRESS:
@ -125,7 +105,7 @@ trigger:
--- ---
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: Generate README.md name: Generate, compare and lint README.md
clone: clone:
disable: true disable: true
@ -138,9 +118,11 @@ steps:
- name: clone repository - name: clone repository
image: git.cryptic.systems/volker.raschek/git:1.4.0 image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: generate README - name: execute NPM modules
commands: commands:
- npm install - npm install
- npm run readme:link
- npm run readme:lint
- npm run readme:parameters - npm run readme:parameters
image: docker.io/library/node:23.3.0-alpine image: docker.io/library/node:23.3.0-alpine
resources: resources: