Skip to content

test prettier workflow #3

test prettier workflow

test prettier workflow #3

Workflow file for this run

name: Prettier Code Formatter
on:
pull_request:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Prettify code
uses: creyD/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
prettier_options: --write **/*.{js,jsx,ts,tsx,json,css,scss,md}
only_changed: true