From 884ef6beca8645d9802ceadf6bf4ab4292fd82fe Mon Sep 17 00:00:00 2001 From: Alexander Eble <35292572+alexanderdavide@users.noreply.github.com> Date: Thu, 01 Jul 2021 19:24:04 +0000 Subject: [PATCH] chore: add Prettier Format Action (#225) --- .github/workflows/format.yml | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml new file mode 100644 index 0000000..5a6688e --- /dev/null +++ b/.github/workflows/format.yml @@ -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' -- Gitblit v1.10.0