Initial commit

This commit is contained in:
Dmitriy Shishkov 2020-11-26 20:41:11 +05:00
parent 770c64e658
commit 316ee6011a
No known key found for this signature in database
GPG Key ID: D76D70029F55183E

25
.github/code-style.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Code style
on: [push]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install NPM dependencies
run: npm ci
- name: Run prettier
run: npm run format
- name: Commit actions
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply Prettier styles
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}