Archived
1
0

Added Prettifier Config

This commit is contained in:
2020-01-10 10:25:19 +01:00
parent db79f1b099
commit 61d0b42539

20
.github/workflows/prettier.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Prettier for JS Code
on: [pull_request]
jobs:
cleanup_tasks:
runs-on: ubuntu-latest
steps:
- name: Cloning the repository
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Prettify the JS Code
uses: creyD/prettier_action@master
with:
prettier_options: --no-semi --write src/**/*.js
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}