This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
Merge pull request #100 from vnodesign/renovate/lint-staged-15.x #44
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: yarn | |
- name: Prettier check | |
run: npx prettier --check "**/*.{md,mdx}" | |
- name: Prettier format | |
run: npx prettier --write "**/*.{md,mdx}" |