ci: fix prettier format (#215)
This commit is contained in:
parent
487d79d675
commit
7965d4e511
11
.github/workflows/format.yml
vendored
11
.github/workflows/format.yml
vendored
@ -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_action@v4.3
|
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"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user