chore: optimize markdown formatting and minor content updates #80
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format Markdown files | |
on: | |
push: | |
jobs: | |
Lint-and-Format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- name: Lint & Format | |
run: | | |
pnpx prettier *.md **/*.md -w | |
pnpm --package=@lint-md/cli dlx lint-md *.md **/*.md --fix | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Auto Format |