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

Alexander Eble
01.24.2021 884ef6beca8645d9802ceadf6bf4ab4292fd82fe
chore: add Prettier Format Action (#225)

* chore: add prettier format action
1 files added
22 ■■■■■ changed files
.github/workflows/format.yml 22 ●●●●● patch | view | raw | blame | history
.github/workflows/format.yml
New file
@@ -0,0 +1,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'