mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 04:32:22 +00:00
39 lines
726 B
YAML
39 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
|