e3c77f433a
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
22 lines
497 B
YAML
22 lines
497 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@v3
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- name: Prettify
|
|
uses: creyD/prettier_action@v4.2
|
|
with:
|
|
prettier_options: --write **/*.{js,html,css,md}
|