aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/format.yml
blob: 76f475d0f5feb8ad8d9a7aa971d979b6b8a6e288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Formatting

on:
  push:
    branches:
    - master
    
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v4
    - name: Setup Node
      uses: actions/setup-node@v4
      with:
        node-version: '14'
        cache: 'npm'
    - name: Prettier Action
      uses: creyD/prettier_action@v4.3
      with:
        same_commit: false
        prettier_options: --write **/*.json **/*.js **/*.ts **/*.html **/*.css **/*.md