9b0405579f
look i am 100% the type to just throw things at the wall to see what sticks
22 lines
478 B
YAML
22 lines
478 B
YAML
name: Prettier Autoformatting
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "testing"
|
|
pull_request:
|
|
branches: [main, testing]
|
|
types: [opened, synchronize, closed]
|
|
|
|
jobs:
|
|
prettier:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
- name: Prettify
|
|
uses: creyD/prettier_action@v4.2
|
|
with:
|
|
prettier_options: --write **/*.{js,html,css,md}
|