mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
10.14.2022 73ec8e5efed9d8d97da630e13f3e8b20a119821f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: format
 
on:
  push:
    branches: master
 
jobs:
  format:
    runs-on: ubuntu-latest
    steps:
      - name: checkout code
        uses: actions/checkout@v2
      - name: setup node
        uses: actions/setup-node@v2
      - name: install
        run: npm ci
      - name: format
        run: npm run prettier
      - name: commit changes
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: 'style: prettier format all files'