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

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