Skip to content

Add Prettier Formatting Action #4

Add Prettier Formatting Action

Add Prettier Formatting Action #4

Workflow file for this run

name: Prettier Lint
on:
pull_request:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
dry: True
prettier_options: --check **/*.md
only_changed: True