Merge pull request #95 from vnodesign/renovate/prettier-3.x-lockfile #87
This file contains 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: Prettier content MD and MDX | |
on: | |
push: | |
branches: [master] | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm install | |
- name: Prettier check | |
run: npx prettier --check "**/*.{md,mdx}" | |
- name: Prettier format | |
run: npx prettier --write "**/*.{md,mdx}" |