mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 12:48:07 +01:00
38 lines
726 B
YAML
38 lines
726 B
YAML
name: Markdown Linting
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'dependabot/**'
|
|
- 'renovate/**'
|
|
paths:
|
|
- '.github/workflows/lint-md.yml'
|
|
- '.nvmrc'
|
|
- '.prettier*'
|
|
- '**/*.md'
|
|
- '!AUTHORS.md'
|
|
- 'package.json'
|
|
- 'yarn.lock'
|
|
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/lint-md.yml'
|
|
- '.nvmrc'
|
|
- '.prettier*'
|
|
- '**/*.md'
|
|
- '!AUTHORS.md'
|
|
- 'package.json'
|
|
- 'yarn.lock'
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Javascript environment
|
|
uses: ./.github/actions/setup-javascript
|
|
|
|
- name: Prettier
|
|
run: yarn lint:md
|