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
|
||||
with:
|
||||
token: ${{ secrets.USERSTYLES_TOKEN }}
|
||||
- uses: actions/setup-node@v3
|
||||
|
||||
- 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:
|
||||
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>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user