docker-compose-docker/.gitea/workflows/markdown-linters.yaml
Markus Pesch 6b2f4de5cb
Some checks failed
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
Markdown linter / markdown-lint (push) Failing after 34s
Markdown linter / markdown-link-checker (push) Failing after 41s
feat(ci): replace drone with gitea actions
2025-05-06 18:45:29 +02:00

47 lines
932 B
YAML

name: Markdown linter
on:
pull_request:
paths: [ "**/*.md" ]
types: [ "opened", "reopened", "synchronize" ]
push:
branches:
- '**'
paths: [ "**/*.md" ]
tags-ignore:
- '**'
workflow_dispatch: {}
jobs:
markdown-link-checker:
container:
image: docker.io/library/node:23.11.0-alpine
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git npm
- uses: actions/checkout@v4.2.2
- name: Verify links in markdown files
run: |
npm install
npm run readme:link
markdown-lint:
container:
image: docker.io/library/node:23.11.0-alpine
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git
- uses: actions/checkout@v4.2.2
- name: Lint markdown files
run: |
npm install
npm run readme:lint