aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/format.yml
blob: e7946f95650118184205a818285eb4cb87e56f2b (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 **/*.js