CI: add a prettier GitHub action to format code automatically (#988)

* CI: add a prettier GitHub action to format code automatically

* improve GitHub Action config and format some files

* Apply formatting changes

* CI: make the prettier action a standalone action

* Apply formatting changes

* CI: add push as new trigger event

Co-authored-by: Mark-Fenng <Mark-Fenng@users.noreply.github.com>
This commit is contained in:
Yun Feng
2022-09-06 09:38:43 +08:00
committed by GitHub
parent 5ba933cce3
commit f1b5cb2738
22 changed files with 109 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
name: Eslint Check
on: [pull_request]
on: [pull_request, push]
jobs:
eslint_check_upload: