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
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.USERSTYLES_TOKEN }}
|
token: ${{ secrets.USERSTYLES_TOKEN }}
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
|
||||||
- name: Run Prettier
|
- 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:
|
with:
|
||||||
commit_options: "--author 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'"
|
|
||||||
commit_message: "style: format code with prettier"
|
commit_message: "style: format code with prettier"
|
||||||
prettier_options: "--write styles/**/*.css"
|
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
|
||||||
prettier_version: "2.8.4"
|
|
||||||
Reference in new issue
Block a user