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

Alexander Bilz
26.55.2023 260ab5588bbac8ffb8ac2a40bd32619468f4e63f
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@v3
      - name: setup node
        uses: actions/setup-node@v3
        with:
          node-version: 18
      - name: install
        run: |
          npm ci
          npm run prepare
      - name: format
        run: npm run prettier
      - name: commit changes
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: 'style: prettier format all files'