From 9f794dece516f809c4f1219af35f94bd26ec0cfd Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sun, 13 Apr 2025 19:50:00 +0200 Subject: [PATCH] Implement link checker --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d0c894..8368df0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,8 @@ +stages: + - build + - lint + - deploy + .build: image: node:22.14.0 script: @@ -12,6 +17,14 @@ build: rules: - if: ($CI_COMMIT_BRANCH != "build-branch" || $C0_TRIGGER_REF != "refs/heads/main") && $C0_TRIGGER_REF != "refs/heads/main" +lint-links: + stage: lint + image: ghcr.io/code0-tech/build-images/telescopium-lint:119.1 + needs: [] + script: + - ./clone_projects.sh + - lychee --offline --no-progress --include-fragments --no-ignore content + pages: extends: - .build