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