From 5bf8a132ebe117c35fe6a6628e54a272ac51a421 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 3 Dec 2024 09:37:55 +0100 Subject: [PATCH] chore(ci): execute markdown-link-check as npm module in single step --- .drone.yml | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/.drone.yml b/.drone.yml index 061482d..e0827eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,26 +23,6 @@ steps: cpu: 150 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 environment: SMTP_FROM_ADDRESS: @@ -125,7 +105,7 @@ trigger: --- kind: pipeline type: kubernetes -name: Generate README.md +name: Generate, compare and lint README.md clone: disable: true @@ -138,9 +118,11 @@ steps: - name: clone repository image: git.cryptic.systems/volker.raschek/git:1.4.0 -- name: generate README +- name: execute NPM modules commands: - npm install + - npm run readme:link + - npm run readme:lint - npm run readme:parameters image: docker.io/library/node:23.3.0-alpine resources: