ci: fix prettier format (#215)
This commit is contained in:
1 parent
487d79d675
commit
7965d4e511
1 file changed
+7
-4
@@ -13,10 +13,13 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.USERSTYLES_TOKEN }}
|
||||
- uses: actions/setup-node@v3
|
||||
|
||||
- name: Run Prettier
|
||||
uses: creyD/prettier[email protected]
|
||||
run: npx prettier --write styles/**/*.css
|
||||
|
||||
- name: Push Changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_options: "--author 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'"
|
||||
commit_message: "style: format code with prettier"
|
||||
prettier_options: "--write styles/**/*.css"
|
||||
prettier_version: "2.8.4"
|
||||
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
|
||||
Reference in new issue
Block a user